[COMMITTERS] pgsql: Fix a small logic bug in adjusted parallel restore code.

2013-03-25 Thread Andrew Dunstan
Fix a small logic bug in adjusted parallel restore code. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ec143f94051779bb5d07419723529b4cc4fcce95 Modified Files -- src/bin/pg_dump/pg_backup_archiver.c |2 ++ 1 files changed, 2 insertions(+), 0 deletion

Re: [COMMITTERS] pgsql: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt.

2013-03-25 Thread Tom Lane
Heikki Linnakangas writes: > On 25.03.2013 15:36, Tom Lane wrote: >> Heikki Linnakangas writes: >>> Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt. >>> Per warning from -Wmissing-format-attribute. >> Hm, this is exactly what I removed yesterday, because it makes the build >> fail outright on old gcc

[COMMITTERS] pgsql: In base backup, only include our own tablespace version director

2013-03-25 Thread Heikki Linnakangas
In base backup, only include our own tablespace version directory. If you have clusters of different versions pointing to the same tablespace location, we would incorrectly include all the data belonging to the other versions, too. Fixes bug #7986, reported by Sergey Burladyan. Branch -- REL

[COMMITTERS] pgsql: Make pg_basebackup work with pre-9.3 servers, and add server ver

2013-03-25 Thread Heikki Linnakangas
Make pg_basebackup work with pre-9.3 servers, and add server version check. A new 'starttli' field was added to the response of BASE_BACKUP command. Make pg_basebackup tolerate the case that it's missing, so that it still works with older servers. Add an explicit check for the server version, so

[COMMITTERS] pgsql: Add a server version check to pg_basebackup and pg_receivexlog.

2013-03-25 Thread Heikki Linnakangas
Add a server version check to pg_basebackup and pg_receivexlog. These programs don't work against 9.0 or earlier servers, so check that when the connection is made. That's better than a cryptic error message you got before. Also, these programs won't work with a 9.3 server, because the WAL stream

[COMMITTERS] pgsql: Add a server version check to pg_basebackup and pg_receivexlog.

2013-03-25 Thread Heikki Linnakangas
Add a server version check to pg_basebackup and pg_receivexlog. These programs don't work against 9.0 or earlier servers, so check that when the connection is made. That's better than a cryptic error message you got before. Also, these programs won't work with a 9.3 server, because the WAL stream

[COMMITTERS] pgsql: In base backup, only include our own tablespace version director

2013-03-25 Thread Heikki Linnakangas
In base backup, only include our own tablespace version directory. If you have clusters of different versions pointing to the same tablespace location, we would incorrectly include all the data belonging to the other versions, too. Fixes bug #7986, reported by Sergey Burladyan. Branch -- REL

[COMMITTERS] pgsql: In base backup, only include our own tablespace version director

2013-03-25 Thread Heikki Linnakangas
In base backup, only include our own tablespace version directory. If you have clusters of different versions pointing to the same tablespace location, we would incorrectly include all the data belonging to the other versions, too. Fixes bug #7986, reported by Sergey Burladyan. Branch -- mas

Re: [COMMITTERS] pgsql: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt.

2013-03-25 Thread Heikki Linnakangas
On 25.03.2013 15:36, Tom Lane wrote: Heikki Linnakangas writes: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt. Per warning from -Wmissing-format-attribute. Hm, this is exactly what I removed yesterday, because it makes the build fail outright on old gcc: gcc -O1 -Wall -Wmissing-prototypes -Wpoi

Re: [COMMITTERS] pgsql: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt.

2013-03-25 Thread Tom Lane
Heikki Linnakangas writes: > Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt. > Per warning from -Wmissing-format-attribute. Hm, this is exactly what I removed yesterday, because it makes the build fail outright on old gcc: gcc -O1 -Wall -Wmissing-prototypes -Wpointer-arith -Wformat-security -fno-st

[COMMITTERS] pgsql: Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt.

2013-03-25 Thread Heikki Linnakangas
Add PF_PRINTF_ATTRIBUTE to on_exit_msg_fmt. Per warning from -Wmissing-format-attribute. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/ea988ee8c8b191615e730f930bcde6144a598688 Modified Files -- src/bin/pg_dump/dumputils.h |3 ++- 1 files changed, 2

[COMMITTERS] pgsql: Add missing #include.

2013-03-25 Thread Heikki Linnakangas
Add missing #include. time(2) requires time.h. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/4eefd0f86b6ce2e657c566fe40301930ab31eddd Modified Files -- src/timezone/zic.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) -- Sent via pgsql-co