[COMMITTERS] pgsql: Avoid bogus "out-of-sequence timeline ID" errors in standby-mode

2012-11-22 Thread Heikki Linnakangas
Avoid bogus "out-of-sequence timeline ID" errors in standby-mode. When startup process opens a WAL segment after replaying part of it, it validates the first page on the WAL segment, even though the page it's really interested in later in the file. As part of the validation, it checks that the TLI

[COMMITTERS] pgsql: Avoid bogus "out-of-sequence timeline ID" errors in standby-mode

2012-11-22 Thread Heikki Linnakangas
Avoid bogus "out-of-sequence timeline ID" errors in standby-mode. When startup process opens a WAL segment after replaying part of it, it validates the first page on the WAL segment, even though the page it's really interested in later in the file. As part of the validation, it checks that the TLI

[COMMITTERS] pgsql: Avoid bogus "out-of-sequence timeline ID" errors in standby-mode

2012-11-22 Thread Heikki Linnakangas
Avoid bogus "out-of-sequence timeline ID" errors in standby-mode. When startup process opens a WAL segment after replaying part of it, it validates the first page on the WAL segment, even though the page it's really interested in later in the file. As part of the validation, it checks that the TLI

[COMMITTERS] pgsql: Avoid bogus "out-of-sequence timeline ID" errors in standby-mode

2012-11-22 Thread Heikki Linnakangas
Avoid bogus "out-of-sequence timeline ID" errors in standby-mode. When startup process opens a WAL segment after replaying part of it, it validates the first page on the WAL segment, even though the page it's really interested in later in the file. As part of the validation, it checks that the TLI

[COMMITTERS] pgsql: Fix pg_resetxlog to use correct path to postmaster.pid.

2012-11-22 Thread Tom Lane
Fix pg_resetxlog to use correct path to postmaster.pid. Since we've already chdir'd into the data directory, the file should be referenced as just "postmaster.pid", without prefixing the directory path. This is harmless in the normal case where an absolute PGDATA path is used, but quite dangerous

[COMMITTERS] pgsql: Fix pg_resetxlog to use correct path to postmaster.pid.

2012-11-22 Thread Tom Lane
Fix pg_resetxlog to use correct path to postmaster.pid. Since we've already chdir'd into the data directory, the file should be referenced as just "postmaster.pid", without prefixing the directory path. This is harmless in the normal case where an absolute PGDATA path is used, but quite dangerous

[COMMITTERS] pgsql: Fix pg_resetxlog to use correct path to postmaster.pid.

2012-11-22 Thread Tom Lane
Fix pg_resetxlog to use correct path to postmaster.pid. Since we've already chdir'd into the data directory, the file should be referenced as just "postmaster.pid", without prefixing the directory path. This is harmless in the normal case where an absolute PGDATA path is used, but quite dangerous

[COMMITTERS] pgsql: Fix pg_resetxlog to use correct path to postmaster.pid.

2012-11-22 Thread Tom Lane
Fix pg_resetxlog to use correct path to postmaster.pid. Since we've already chdir'd into the data directory, the file should be referenced as just "postmaster.pid", without prefixing the directory path. This is harmless in the normal case where an absolute PGDATA path is used, but quite dangerous

[COMMITTERS] pgsql: Fix pg_resetxlog to use correct path to postmaster.pid.

2012-11-22 Thread Tom Lane
Fix pg_resetxlog to use correct path to postmaster.pid. Since we've already chdir'd into the data directory, the file should be referenced as just "postmaster.pid", without prefixing the directory path. This is harmless in the normal case where an absolute PGDATA path is used, but quite dangerous

[COMMITTERS] pgsql: Fix pg_resetxlog to use correct path to postmaster.pid.

2012-11-22 Thread Tom Lane
Fix pg_resetxlog to use correct path to postmaster.pid. Since we've already chdir'd into the data directory, the file should be referenced as just "postmaster.pid", without prefixing the directory path. This is harmless in the normal case where an absolute PGDATA path is used, but quite dangerous