[COMMITTERS] pgsql: Fix assorted memory leaks.

2015-07-12 Thread Tom Lane
Fix assorted memory leaks.

Per Coverity (not that any of these are so non-obvious that they should not
have been caught before commit).  The extent of leakage is probably minor
to unnoticeable, but a leak is a leak.  Back-patch as necessary.

Michael Paquier

Branch
--
REL9_2_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/a24ceea4b311146d41e3bd5b8e0df7176113675f

Modified Files
--
src/bin/pg_dump/pg_dump.c |1 +
1 file changed, 1 insertion(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix assorted memory leaks.

2015-07-12 Thread Tom Lane
Fix assorted memory leaks.

Per Coverity (not that any of these are so non-obvious that they should not
have been caught before commit).  The extent of leakage is probably minor
to unnoticeable, but a leak is a leak.  Back-patch as necessary.

Michael Paquier

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/bcc87b6b00de5b36984e0b43a78a8377a3577548

Modified Files
--
src/bin/pg_basebackup/streamutil.c |1 +
src/bin/pg_dump/pg_dump.c  |2 ++
src/bin/pg_rewind/libpq_fetch.c|8 ++--
src/bin/scripts/vacuumdb.c |7 ---
4 files changed, 13 insertions(+), 5 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix assorted memory leaks.

2015-07-12 Thread Tom Lane
Fix assorted memory leaks.

Per Coverity (not that any of these are so non-obvious that they should not
have been caught before commit).  The extent of leakage is probably minor
to unnoticeable, but a leak is a leak.  Back-patch as necessary.

Michael Paquier

Branch
--
REL9_1_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/e9a859b549d77dc8006670d012fecd94594c0a70

Modified Files
--
src/bin/pg_dump/pg_dump.c |1 +
1 file changed, 1 insertion(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Optionally don't error out due to preexisting slots in commandli

2015-07-12 Thread Andres Freund
Optionally don't error out due to preexisting slots in commandline utilities.

pg_receivexlog and pg_recvlogical error out when --create-slot is
specified and a slot with the same name already exists. In some cases,
especially with pg_receivexlog, that's rather annoying and requires
additional scripting.

Backpatch to 9.5 as slot control functions have newly been added to
pg_receivexlog, and there doesn't seem much point leaving it in a less
useful state.

Discussion: 20150619144755.gg29...@alap3.anarazel.de

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/0e8e48b0da6ea00f3dbcb659542b0c81a97d1253

Modified Files
--
doc/src/sgml/ref/pg_receivexlog.sgml   |   10 
doc/src/sgml/ref/pg_recvlogical.sgml   |   10 
src/bin/pg_basebackup/pg_receivexlog.c |   11 ++--
src/bin/pg_basebackup/pg_recvlogical.c |9 ++-
src/bin/pg_basebackup/streamutil.c |   44 ++--
src/bin/pg_basebackup/streamutil.h |4 +--
6 files changed, 58 insertions(+), 30 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Optionally don't error out due to preexisting slots in commandli

2015-07-12 Thread Andres Freund
Optionally don't error out due to preexisting slots in commandline utilities.

pg_receivexlog and pg_recvlogical error out when --create-slot is
specified and a slot with the same name already exists. In some cases,
especially with pg_receivexlog, that's rather annoying and requires
additional scripting.

Backpatch to 9.5 as slot control functions have newly been added to
pg_receivexlog, and there doesn't seem much point leaving it in a less
useful state.

Discussion: 20150619144755.gg29...@alap3.anarazel.de

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/ff27db5dd2fc096d89d3f995d3f650ec6d3bc147

Modified Files
--
doc/src/sgml/ref/pg_receivexlog.sgml   |   10 
doc/src/sgml/ref/pg_recvlogical.sgml   |   10 
src/bin/pg_basebackup/pg_receivexlog.c |   11 ++--
src/bin/pg_basebackup/pg_recvlogical.c |9 ++-
src/bin/pg_basebackup/streamutil.c |   44 ++--
src/bin/pg_basebackup/streamutil.h |4 +--
6 files changed, 58 insertions(+), 30 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: For consistency add a pfree to ON CONFLICT set_plan_refs code.

2015-07-12 Thread Andres Freund
For consistency add a pfree to ON CONFLICT set_plan_refs code.

Backpatch to 9.5 where ON CONFLICT was introduced.

Author: Peter Geoghegan

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/3ed26e5f87a90bedaa3d7feb9e197e0d9f3fb252

Modified Files
--
src/backend/optimizer/plan/setrefs.c |2 ++
1 file changed, 2 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: For consistency add a pfree to ON CONFLICT set_plan_refs code.

2015-07-12 Thread Andres Freund
For consistency add a pfree to ON CONFLICT set_plan_refs code.

Backpatch to 9.5 where ON CONFLICT was introduced.

Author: Peter Geoghegan

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/1884708e25c444eb9de6b0665b94c268bab25689

Modified Files
--
src/backend/optimizer/plan/setrefs.c |2 ++
1 file changed, 2 insertions(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix assorted memory leaks.

2015-07-12 Thread Tom Lane
Fix assorted memory leaks.

Per Coverity (not that any of these are so non-obvious that they should not
have been caught before commit).  The extent of leakage is probably minor
to unnoticeable, but a leak is a leak.  Back-patch as necessary.

Michael Paquier

Branch
--
REL9_3_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/faf686b540e602f77c7a31442f334eb848e9

Modified Files
--
src/bin/pg_dump/pg_dump.c |1 +
1 file changed, 1 insertion(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix assorted memory leaks.

2015-07-12 Thread Tom Lane
Fix assorted memory leaks.

Per Coverity (not that any of these are so non-obvious that they should not
have been caught before commit).  The extent of leakage is probably minor
to unnoticeable, but a leak is a leak.  Back-patch as necessary.

Michael Paquier

Branch
--
REL9_4_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/1ed5493877220affaa235427f4346afd932ce1ae

Modified Files
--
src/bin/pg_dump/pg_dump.c |1 +
1 file changed, 1 insertion(+)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: release notes: markup: vacuumdb is an application, not command

2015-07-12 Thread Bruce Momjian
release notes:  markup:  vacuumdb is an application, not command

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/716f97f96663bdb8b64db9ed26121e2d399e06e0

Modified Files
--
doc/src/sgml/release-9.5.sgml |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: release notes: markup: vacuumdb is an application, not command

2015-07-12 Thread Bruce Momjian
release notes:  markup:  vacuumdb is an application, not command

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/3096ff924a9d58be7de56e0cae5c8713a51c6b46

Modified Files
--
doc/src/sgml/release-9.5.sgml |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


[COMMITTERS] pgsql: Fix assorted memory leaks.

2015-07-12 Thread Tom Lane
Fix assorted memory leaks.

Per Coverity (not that any of these are so non-obvious that they should not
have been caught before commit).  The extent of leakage is probably minor
to unnoticeable, but a leak is a leak.  Back-patch as necessary.

Michael Paquier

Branch
--
REL9_5_STABLE

Details
---
http://git.postgresql.org/pg/commitdiff/0e78a610f24463f64d8a03b39f06e995581c923a

Modified Files
--
src/bin/pg_basebackup/streamutil.c |1 +
src/bin/pg_dump/pg_dump.c  |2 ++
src/bin/pg_rewind/libpq_fetch.c|8 ++--
src/bin/scripts/vacuumdb.c |7 ---
4 files changed, 13 insertions(+), 5 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Re: [COMMITTERS] pgsql: Add assign_expr_collations() to CreatePolicy() and AlterPolicy()

2015-07-12 Thread Joe Conway
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07/11/2015 08:35 PM, Tom Lane wrote:
 Bruce Momjian br...@momjian.us writes:
 On Sat, Jul 11, 2015 at 09:20:41PM +, Joe Conway wrote:
 Add assign_expr_collations() to CreatePolicy() and
 AlterPolicy().
 
 I think this commit has added a compiler warning: policy.c:542:
 warning: implicit declaration of function
 'assign_expr_collations'

Mea culpa.

 Indeed ... fixed.

Thanks for that. Will be sure to do better next time.

Joe

-BEGIN PGP SIGNATURE-
Version: GnuPG v1

iQIcBAEBAgAGBQJVom6gAAoJEDfy90M199hlm4sP/3dhY2D1I9nluP93D3ikAZfG
FXA8/KlCF9igU43Yp3CnwMInZ+SpvMbaat5+inCe/l5fjhak/DcYCtCfrYqqeCBS
mJi1h0dRQYsQkzZwd2NeEJHVna2Olg63McRBDEqLoan99zgfqrwNcAqeiImRUZ5U
jv+YVOo8U3mTIay2w7MwhDKofKANMU9hP6mOzkCCNJtt7YXkfTa+AFSfrzjrUl24
RTq97uiaHRraNumOa0ywbLsi+rGi41BjHhS8mxgX3e1wZMsZoKNnJduJc2TF3vAn
a5mHQ+IO81vp3rB98o3A7JzVf9jP2knTwo2BYppwufyZqx2uYFnoAJKgVaS9M/Vj
Wb51p5afbs/hBy2Xt0nRELUSyxk8woOsw4CaLYT78WwM3f/rg8q4Mtd9wzV8QeOf
V4KWNmKZmFp/5i59ohrjzHcQZ52jo9I84pi115Wy0eipqynnZwbYcbmVo44NRQ3e
jz18vIgJfmI48qbOh2oNVrVnqg9sCGvtPb9DmP8FVE86nei+D2kb/ew2KlqRVm83
gWDORC39IwGVfzx9ZIJDU/j0l7PRKaS9Sf7RQutcth9Cxt43BaXhYVv5m4RBhCcU
z1ZZTOoAZ6QKrQb2O5qD5lI4zbGJ5W0YK1NC3GlApMYAhTrjcWDewEiUegQUrzD5
22lVxBYBl59o0Roi4Mmn
=hjZj
-END PGP SIGNATURE-


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers