[COMMITTERS] pgsql: Add 'active_in' column to pg_replication_slots.

2015-04-21 Thread Andres Freund
Add 'active_in' column to pg_replication_slots.

Right now it is visible whether a replication slot is active in any
session, but not in which.  Adding the active_in column, containing the
pid of the backend having acquired the slot, makes it much easier to
associate pg_replication_slots entries with the corresponding
pg_stat_replication/pg_stat_activity row.

This should have been done from the start, but I (Andres) dropped the
ball there somehow.

Author: Craig Ringer, revised by me Discussion:
camsr+yfkgzca5_7_ouamwxa5pnejc9lnvipzpdhusaphu9p...@mail.gmail.com

Branch
--
master

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

Modified Files
--
contrib/test_decoding/expected/ddl.out |4 ++--
doc/src/sgml/catalogs.sgml |   10 ++
doc/src/sgml/logicaldecoding.sgml  |8 
src/backend/catalog/system_views.sql   |1 +
src/backend/replication/slot.c |   30 --
src/backend/replication/slotfuncs.c|   13 +
src/include/catalog/pg_proc.h  |2 +-
src/include/replication/slot.h |4 ++--
src/test/regress/expected/rules.out|3 ++-
9 files changed, 47 insertions(+), 28 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 missing installcheck target to pg_rewind's Makefile

2015-04-21 Thread Tom Lane
Heikki Linnakangas heikki.linnakan...@iki.fi writes:
 Add missing installcheck target to pg_rewind's Makefile

This patch seems a brick shy of a load, in that make installcheck in
bin/pg_rewind leaves behind a bunch of junk in a tmp_check/ subdirectory.
installcheck in any other src/bin/ subdirectory doesn't do that.

(I chanced to notice this while wondering why hamster is failing on
this test.  I can't reproduce the failure locally, but ...)

regards, tom lane


-- 
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: Update FDW docs to reflect existence of CHECK constraints.

2015-04-21 Thread Robert Haas
Update FDW docs to reflect existence of CHECK constraints.

Generalize the remarks previously made about NOT NULL constraints to
CHECK constraints.

Etsuro Fujita

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/0275ecf31cda9329ee822a6a806a2018144520ed

Modified Files
--
doc/src/sgml/fdwhandler.sgml |   14 +++---
1 file changed, 7 insertions(+), 7 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 missing installcheck target to pg_rewind's Makefile

2015-04-21 Thread Michael Paquier
On Wed, Apr 22, 2015 at 5:38 AM, Tom Lane t...@sss.pgh.pa.us wrote:

 (I chanced to notice this while wondering why hamster is failing on
 this test.  I can't reproduce the failure locally, but ...)


With a very slow environment you will be able to reproduce the failure.
-- 
Michael


[COMMITTERS] pgsql: Move pg_xlogdump from contrib/ to src/bin/

2015-04-21 Thread Peter Eisentraut
Move pg_xlogdump from contrib/ to src/bin/

Reviewed-by: Michael Paquier michael.paqu...@gmail.com

Branch
--
master

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

Modified Files
--
contrib/Makefile  |1 -
contrib/pg_xlogdump/.gitignore|   21 -
contrib/pg_xlogdump/Makefile  |   31 --
contrib/pg_xlogdump/compat.c  |   99 
contrib/pg_xlogdump/pg_xlogdump.c | 1007 -
contrib/pg_xlogdump/rmgrdesc.c|   37 --
contrib/pg_xlogdump/rmgrdesc.h|   22 -
doc/src/sgml/contrib.sgml |1 -
doc/src/sgml/filelist.sgml|1 -
doc/src/sgml/pg_xlogdump.sgml |  228 -
doc/src/sgml/ref/allfiles.sgml|1 +
doc/src/sgml/ref/pg_xlogdump.sgml |  228 +
doc/src/sgml/reference.sgml   |1 +
src/bin/Makefile  |1 +
src/bin/pg_xlogdump/.gitignore|   21 +
src/bin/pg_xlogdump/Makefile  |   40 ++
src/bin/pg_xlogdump/compat.c  |   99 
src/bin/pg_xlogdump/pg_xlogdump.c | 1007 +
src/bin/pg_xlogdump/rmgrdesc.c|   37 ++
src/bin/pg_xlogdump/rmgrdesc.h|   22 +
src/tools/msvc/Mkvcbuild.pm   |   12 +-
21 files changed, 1461 insertions(+), 1456 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: Add missing installcheck target to pg_rewind's Makefile

2015-04-21 Thread Heikki Linnakangas
Add missing installcheck target to pg_rewind's Makefile

Michael Paquier

Branch
--
master

Details
---
http://git.postgresql.org/pg/commitdiff/060a1224af3f66c172cfb14e5ca9d0ffa575201a

Modified Files
--
src/bin/pg_rewind/Makefile |3 +++
1 file changed, 3 insertions(+)


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