[COMMITTERS] pgsql: In RelationClearRelation, postpone cache reload if !IsTransactio

2014-02-06 Thread Tom Lane
In RelationClearRelation, postpone cache reload if !IsTransactionState(). We may process relcache flush requests during transaction startup or shutdown. In general it's not terribly safe to do catalog access at those times, so the code's habit of trying to immediately revalidate unflushable relca

[COMMITTERS] pgsql: Alphabeticize list in OBJS definition in utils/adt Makefile.

2014-02-06 Thread Andrew Dunstan
Alphabeticize list in OBJS definition in utils/adt Makefile. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/45e1b6c4c490a173208f98f4babc03b8fc69439e Modified Files -- src/backend/utils/adt/Makefile | 29 +++-- 1 file changed, 15

[COMMITTERS] pgsql: Assert(IsTransactionState()) in RelationIdGetRelation().

2014-02-06 Thread Tom Lane
Assert(IsTransactionState()) in RelationIdGetRelation(). Commit 42c80c696e9c8323841180029cc62741c21bd356 added an Assert(IsTransactionState()) in SearchCatCache(), to catch any code that thought it could do a catcache lookup outside transactions. Extend the same idea to relcache lookups. Branch

Re: [COMMITTERS] pgsql: Introduce replication slots.

2014-02-06 Thread Andres Freund
Hi Fujii, On 2014-02-01 16:47:47 +0900, Fujii Masao wrote: > This patch changed basebackup.c so that it skips pg_replslot. It's OK > to skip all files in that directory, but an empty pg_replslot must be > included in the backup. Otherwise we cannot start PostgreSQL from > the backup taken via pg_b

Re: [COMMITTERS] pgsql: Introduce replication slots.

2014-02-06 Thread Thom Brown
On 4 February 2014 05:19, Michael Paquier wrote: > On Sat, Feb 1, 2014 at 6:33 PM, Fujii Masao wrote: >> On Sat, Feb 1, 2014 at 6:09 PM, Andres Freund wrote: >>> On 2014-02-01 16:47:47 +0900, Fujii Masao wrote: On Sat, Feb 1, 2014 at 12:50 PM, Robert Haas wrote: > Introduce replicatio