postgresql/src/include/utils
Tom Lane 5433b48380 Tweak sorting so that nulls appear at the front of a descending sort
(vs. at the end of a normal sort).  This ensures that explicit sorts
yield the same ordering as a btree index scan.  To be really sure that
that equivalence holds, we use the btree entries in pg_amop to decide
whether we are looking at a '<' or '>' operator.  For a sort operator
that has no btree association, we put the nulls at the front if the
operator is named '>' ... pretty grotty, but it does the right thing in
simple ASC and DESC cases, and at least there's no possibility of getting
a different answer depending on the plan type chosen.
2001-06-02 19:01:53 +00:00
..
acl.h Make UPDATE and DELETE privileges distinct. Add REFERENCES and TRIGGER 2001-05-27 09:59:30 +00:00
array.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
ascii.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
bit.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
builtins.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
cash.h More functions updated to new fmgr style --- money, name, tid datatypes. 2000-08-03 16:35:08 +00:00
catcache.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
date.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
datetime.h Consolidate several near-identical uses of mktime() into a single 2001-05-03 22:53:07 +00:00
datum.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
dynahash.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
dynamic_loader.h Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
elog.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
exc.h Restructure the key include files per recent pghackers discussion: there 2001-02-10 02:31:31 +00:00
excid.h Mark exception and assert global variables as DLLIMPORT, so that plpgsql 2001-03-23 18:26:01 +00:00
fcache.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
fmgrtab.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
formatting.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
geo_decls.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
guc.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
hsearch.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
inet.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
int8.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
inval.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
logtape.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
lsyscache.h First cut at making indexscan cost estimates depend on correlation 2001-05-09 23:13:37 +00:00
memutils.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
nabstime.h Ensure that btree sort ordering functions and boolean comparison operators 2001-05-03 19:00:37 +00:00
numeric.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
palloc.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
pg_crc.h When using 'long long int' for int64 type, check to see if the compiler 2001-03-23 18:42:12 +00:00
pg_locale.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
pg_lzcompress.h Ye-old pgindent run. Same 4-space tabs. 2000-04-12 17:17:23 +00:00
portal.h Enhancement of SPI to get access to portals 2001-05-21 14:22:19 +00:00
ps_status.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
rel.h Clean up some minor problems exposed by further thought about Panon's bug 2001-06-01 02:41:36 +00:00
relcache.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
sets.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
syscache.h Rewrite of planner statistics-gathering code. ANALYZE is now available as 2001-05-07 00:43:27 +00:00
temprel.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
timestamp.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
tqual.h Change Copyright from PostgreSQL, Inc to PostgreSQL Global Development Group. 2001-01-24 19:43:33 +00:00
tuplesort.h Tweak sorting so that nulls appear at the front of a descending sort 2001-06-02 19:01:53 +00:00
tuplestore.h pgindent run. Make it all clean. 2001-03-22 04:01:46 +00:00
varbit.h Make bit and bit varying types reject too long input. (They already tried 2001-05-22 16:37:17 +00:00