postgresql/src/backend
Tom Lane 882368e854 Fix btree stop-at-nulls logic properly.
As pointed out by Naoya Anzai, my previous try at this was a few bricks
shy of a load, because I had forgotten that the initial-positioning logic
might not try to skip over nulls at the end of the index the scan will
start from.  We ought to fix that, because it represents an unnecessary
inefficiency, but first let's get the scan-stop logic back to a safe
state.  With this patch, we preserve the performance benefit requested
in bug #6278 for the case of scanning forward into NULLs (in a NULLS
LAST index), but the reverse case of scanning backward across NULLs
when there's no suitable initial-positioning qual is still inefficient.
2011-11-02 17:53:49 -04:00
..
access Fix btree stop-at-nulls logic properly. 2011-11-02 17:53:49 -04:00
bootstrap Refactor xlog.c to create src/backend/postmaster/startup.c 2011-11-02 14:25:01 +00:00
catalog More cleanup after failed reduced-lock-levels-for-DDL feature. 2011-10-21 13:50:30 -04:00
commands Comment changes to show bgwriter no longer performs checkpoints. 2011-11-01 18:48:47 +00:00
executor Avoid assuming that index-only scan data matches the index's rowtype. 2011-10-16 19:15:04 -04:00
foreign deflist_to_tuplestore dumped core on an option with no value. 2011-09-13 11:36:49 -04:00
lib Stamp copyrights for year 2011. 2011-01-01 13:18:15 -05:00
libpq Reject empty pg_hba.conf files. 2011-10-18 20:09:18 -04:00
main Add postmaster -C option to query configuration parameters, and have 2011-10-06 09:38:39 -04:00
nodes Don't trust deferred-unique indexes for join removal. 2011-10-23 00:43:39 -04:00
optimizer Preserve Var location information during flatten_join_alias_vars. 2011-11-01 22:13:11 -04:00
parser Clean up whitespace and indentation in parser and scanner files 2011-11-01 21:51:30 +02:00
po Translation updates 2011-08-17 14:07:46 +03:00
port Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
postmaster Refactor xlog.c to create src/backend/postmaster/startup.c 2011-11-02 14:25:01 +00:00
regex Add markers for skips. 2011-08-26 18:15:13 -04:00
replication Refactor xlog.c to create src/backend/postmaster/startup.c 2011-11-02 14:25:01 +00:00
rewrite More cleanup after failed reduced-lock-levels-for-DDL feature. 2011-10-21 13:50:30 -04:00
snowball Remove unnecessary #include references, per pgrminclude script. 2011-09-01 10:04:27 -04:00
storage Derive oldestActiveXid at correct time for Hot Standby. 2011-11-02 08:54:56 +00:00
tcop Consolidate DROP handling for some object types. 2011-10-19 23:27:19 -04:00
tsearch Remove many -Wcast-qual warnings 2011-09-11 21:54:32 +03:00
utils Remove spurious entry from missed catch while patch juggling 2011-11-02 08:37:52 +00:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
Makefile Fix symlink for errcodes.h so it works in VPATH builds from tarballs. 2011-06-22 13:08:08 -04:00
common.mk Workaround for recursive make breakage 2011-01-13 09:32:06 +02:00
nls.mk Add the possibility to pass --flag arguments to xgettext calls 2011-06-27 00:37:21 +03:00