postgresql/src/backend
Tom Lane b09cb0cf12 Remove the pgstat_drop_relation() call from smgr_internal_unlink(), because
we don't know at that point which relation OID to tell pgstat to forget.
The code was passing the relfilenode, which is incorrect, and could possibly
cause some other relation's stats to be zeroed out.  While we could try to
clean this up, it seems much simpler and more reliable to let the next
invocation of pgstat_vacuum_tabstat() fix things; which indeed is how it
worked before I introduced the buggy code into 8.1.3 and later :-(.
Problem noticed by Itagaki Takahiro, fix is per subsequent discussion.
2007-07-08 22:23:16 +00:00
..
access Improve logging of checkpoints. Patch by Greg Smith, worked over 2007-06-30 19:12:02 +00:00
bootstrap Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
catalog Implement "distributed" checkpoints in which the checkpoint I/O is spread 2007-06-28 00:02:40 +00:00
commands Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE. 2007-07-03 01:30:37 +00:00
executor Revert an ill-considered portion of my patch of 12-Mar, which tried to save a 2007-06-17 18:57:29 +00:00
lib Tweak the code in a couple of places to try to deliver more user-friendly 2007-05-28 16:43:24 +00:00
libpq On win32, don't use SO_REUSEADDR for TCP sockets. 2007-06-04 11:59:20 +00:00
main Cleanup the bootstrap code a little, and rename "dummy procs" in the code 2007-03-07 13:35:03 +00:00
nodes Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
optimizer Fix a couple of planner bugs introduced by the new ability to discard 2007-07-07 20:46:45 +00:00
parser Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE. 2007-07-03 01:30:37 +00:00
po Translation updates 2006-12-02 01:16:16 +00:00
port Fix failure to restart Postgres when Linux kernel returns EIDRM for shmctl(). 2007-07-02 20:11:55 +00:00
postmaster Remove the pgstat_drop_relation() call from smgr_internal_unlink(), because 2007-07-08 22:23:16 +00:00
regex Wording cleanup for error messages. Also change can't -> cannot. 2007-02-01 19:10:30 +00:00
rewrite Separate parse-analysis for utility commands out of parser/analyze.c 2007-06-23 22:12:52 +00:00
storage Remove the pgstat_drop_relation() call from smgr_internal_unlink(), because 2007-07-08 22:23:16 +00:00
tcop Add ALTER VIEW ... RENAME TO, and a RENAME TO clause to ALTER SEQUENCE. 2007-07-03 01:30:37 +00:00
utils Fix up hash functions for datetime datatypes so that they don't take 2007-07-06 04:16:00 +00:00
Makefile Replace useless uses of := by = in makefiles. 2007-02-09 15:56:00 +00:00
nls.mk Add _ to gettext triggers. Must have been forgotten here when it was introduced. 2005-10-04 11:14:03 +00:00