postgresql/src/bin
Tom Lane 0cb91ccba9 Remove the logId/logSeg fields from pg_control, because they are not needed
in normal operation, and we can avoid rewriting pg_control at every log
segment switch if we don't insist that these values be valid.  Reducing
the number of pg_control updates is a good idea for both performance and
reliability.  It does make pg_resetxlog's life a bit harder, but that seems
a good tradeoff; and anyway the change to pg_resetxlog amounts to automating
something people formerly needed to do by hand, namely look at the existing
pg_xlog files to make sure the new WAL start point was past them.

In passing, change the wording of xlog.c's "database system was interrupted"
messages: describe the pg_control timestamp as "last known up at" rather than
implying it is the exact time of service interruption.  With this change the
timestamp will generally be the time of the last checkpoint, which could be
many minutes before the failure; and we've already seen indications that
people tend to misinterpret the old wording.

initdb forced due to change in pg_control layout.  Simon Riggs and Tom Lane
2006-12-08 19:50:53 +00:00
..
initdb Translation updates 2006-12-02 01:16:16 +00:00
ipcclean Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00
pg_config Translation updates 2006-11-24 17:11:57 +00:00
pg_controldata Remove the logId/logSeg fields from pg_control, because they are not needed 2006-12-08 19:50:53 +00:00
pg_ctl Translation updates 2006-12-02 01:16:16 +00:00
pg_dump Fix pg_dump linking on Win32 with MSVS win32.mak: 2006-12-04 22:26:17 +00:00
pg_resetxlog Remove the logId/logSeg fields from pg_control, because they are not needed 2006-12-08 19:50:53 +00:00
pgevent pgevent fixes: 2006-10-03 22:12:14 +00:00
psql Translation updates 2006-12-02 01:16:16 +00:00
scripts Translation updates 2006-12-02 01:16:16 +00:00
Makefile Update copyright for 2006. Update scripts. 2006-03-05 15:59:11 +00:00