[COMMITTERS] pgsql: Delay reading timeline history file until it's fetched from mast

2013-01-03 Thread Heikki Linnakangas
Delay reading timeline history file until it's fetched from master. Streaming replication can fetch any missing timeline history files from the master, but recovery would read the timeline history file for the target timeline before reading the checkpoint record, and before walreceiver has had a c

[COMMITTERS] pgsql: Tolerate timeline switches while "pg_basebackup -X fetch" is run

2013-01-03 Thread Heikki Linnakangas
Tolerate timeline switches while "pg_basebackup -X fetch" is running. If you take a base backup from a standby server with "pg_basebackup -X fetch", and the timeline switches while the backup is being taken, the backup used to fail with an error "requested WAL segment %s has already been removed".

[COMMITTERS] pgsql: Tolerate timeline switches while "pg_basebackup -X fetch" is run

2013-01-03 Thread Heikki Linnakangas
Tolerate timeline switches while "pg_basebackup -X fetch" is running. If you take a base backup from a standby server with "pg_basebackup -X fetch", and the timeline switches while the backup is being taken, the backup used to fail with an error "requested WAL segment %s has already been removed".

[COMMITTERS] pgsql: Prevent creation of postmaster's TCP socket during pg_upgrade te

2013-01-03 Thread Tom Lane
Prevent creation of postmaster's TCP socket during pg_upgrade testing. On non-Windows machines, we use the Unix socket for connections to test postmasters, so there is no need to create a TCP socket. Furthermore, doing so causes failures due to port conflicts if two builds are carried out concurr

[COMMITTERS] pgsql: Prevent creation of postmaster's TCP socket during pg_upgrade te

2013-01-03 Thread Tom Lane
Prevent creation of postmaster's TCP socket during pg_upgrade testing. On non-Windows machines, we use the Unix socket for connections to test postmasters, so there is no need to create a TCP socket. Furthermore, doing so causes failures due to port conflicts if two builds are carried out concurr