postgresql/src/backend
Heikki Linnakangas 4fafc4ecd9 Cleanup of new b-tree page deletion code.
When marking a branch as half-dead, a pointer to the top of the branch is
stored in the leaf block's hi-key. During normal operation, the high key
was left in place, and the block number was just stored in the ctid field
of the high key tuple, but in WAL replay, the high key was recreated as a
truncated tuple with zero columns. For the sake of easier debugging, also
truncate the tuple in normal operation, so that the page is identical
after WAL replay. Also, rename the 'downlink' field in the WAL record to
'topparent', as that seems like a more descriptive name. And make sure
it's set to invalid when unlinking the leaf page.
2014-04-23 10:19:54 +03:00
..
access Cleanup of new b-tree page deletion code. 2014-04-23 10:19:54 +03:00
bootstrap Avoid repeated name lookups during table and index DDL. 2014-02-17 09:33:31 -05:00
catalog Fix object identities for text search objects 2014-04-16 18:25:44 -03:00
commands Avoid transient bogus page contents when creating a sequence. 2014-04-22 10:40:23 +03:00
executor Improve some O(N^2) behavior in window function evaluation. 2014-04-13 13:59:17 -04:00
foreign Update copyright for 2014 2014-01-07 16:05:30 -05:00
lib Fix typos in comments. 2014-03-17 20:47:28 +09:00
libpq Use AF_UNSPEC not PF_UNSPEC in getaddrinfo calls. 2014-04-16 13:21:20 -04:00
main Allow "-C variable" and "--describe-config" even to root users. 2014-04-04 22:03:35 -04:00
nodes Make security barrier views automatically updatable 2014-04-12 21:04:58 -04:00
optimizer Make security barrier views automatically updatable 2014-04-12 21:04:58 -04:00
parser Make a dedicated AlterTblSpcStmt production 2014-04-13 01:02:44 -04:00
po Translation updates 2013-12-02 00:17:07 -05:00
port check socket creation errors against PGINVALID_SOCKET 2014-04-16 10:45:48 -04:00
postmaster Use AF_UNSPEC not PF_UNSPEC in getaddrinfo calls. 2014-04-16 13:21:20 -04:00
regex Fix memory leak during regular expression execution. 2014-03-19 11:09:24 -04:00
replication Fix a few more misc typos in comments. 2014-04-10 00:53:55 +03:00
rewrite Make security barrier views automatically updatable 2014-04-12 21:04:58 -04:00
snowball Prefer pg_any_to_server/pg_server_to_any over pg_do_encoding_conversion. 2014-02-23 16:59:05 -05:00
storage Try to fix spurious DSM failures on Windows. 2014-04-16 12:04:44 -04:00
tcop Reduce lock levels of some ALTER TABLE cmds 2014-04-06 11:13:43 -04:00
tsearch Avoid memcpy() with same source and destination address. 2014-03-07 13:14:33 +02:00
utils Fix documentation of FmgrInfo.fn_nargs. 2014-04-22 23:22:12 -04:00
.gitignore Add gitignore for mingw/cygwin build outputs 2011-06-09 18:11:47 +02:00
common.mk Remove maintainer-check target, fold into normal build 2013-10-10 20:11:56 -04:00
Makefile Get rid of use of dlltool in Mingw builds. 2014-02-11 12:56:20 -05:00
nls.mk Add libpgcommon to backend gettext source files 2013-10-19 13:49:05 -04:00