[COMMITTERS] pgsql: Fix typo in comment

2016-11-25 Thread Magnus Hagander
Fix typo in comment Thomas Munro Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/8afb811088c2a8bfa2b68bd24c05471b8ea4a8ce Modified Files -- src/backend/executor/execParallel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-comm

[COMMITTERS] pgsql: Fix typo in comment

2016-11-25 Thread Magnus Hagander
Fix typo in comment Thomas Munro Branch -- REL9_6_STABLE Details --- http://git.postgresql.org/pg/commitdiff/81f92a55c7bb920a7b915ae0e022a8488126ec22 Modified Files -- src/backend/executor/execParallel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgs

[COMMITTERS] pgsql: Check for pending trigger events on far end when dropping an FK

2016-11-25 Thread Tom Lane
Check for pending trigger events on far end when dropping an FK constraint. When dropping a foreign key constraint with ALTER TABLE DROP CONSTRAINT, we refuse the drop if there are any pending trigger events on the named table; this ensures that we won't remove the pg_trigger row that will be cons

[COMMITTERS] pgsql: Check for pending trigger events on far end when dropping an FK

2016-11-25 Thread Tom Lane
Check for pending trigger events on far end when dropping an FK constraint. When dropping a foreign key constraint with ALTER TABLE DROP CONSTRAINT, we refuse the drop if there are any pending trigger events on the named table; this ensures that we won't remove the pg_trigger row that will be cons

[COMMITTERS] pgsql: Check for pending trigger events on far end when dropping an FK

2016-11-25 Thread Tom Lane
Check for pending trigger events on far end when dropping an FK constraint. When dropping a foreign key constraint with ALTER TABLE DROP CONSTRAINT, we refuse the drop if there are any pending trigger events on the named table; this ensures that we won't remove the pg_trigger row that will be cons

[COMMITTERS] pgsql: Check for pending trigger events on far end when dropping an FK

2016-11-25 Thread Tom Lane
Check for pending trigger events on far end when dropping an FK constraint. When dropping a foreign key constraint with ALTER TABLE DROP CONSTRAINT, we refuse the drop if there are any pending trigger events on the named table; this ensures that we won't remove the pg_trigger row that will be cons

[COMMITTERS] pgsql: Check for pending trigger events on far end when dropping an FK

2016-11-25 Thread Tom Lane
Check for pending trigger events on far end when dropping an FK constraint. When dropping a foreign key constraint with ALTER TABLE DROP CONSTRAINT, we refuse the drop if there are any pending trigger events on the named table; this ensures that we won't remove the pg_trigger row that will be cons

[COMMITTERS] pgsql: Check for pending trigger events on far end when dropping an FK

2016-11-25 Thread Tom Lane
Check for pending trigger events on far end when dropping an FK constraint. When dropping a foreign key constraint with ALTER TABLE DROP CONSTRAINT, we refuse the drop if there are any pending trigger events on the named table; this ensures that we won't remove the pg_trigger row that will be cons

[COMMITTERS] pgsql: Mark a query's topmost Paths parallel-unsafe if they will have i

2016-11-25 Thread Tom Lane
Mark a query's topmost Paths parallel-unsafe if they will have initPlans. Andreas Seltenreich found another case where we were being too optimistic about allowing a plan to be considered parallelizable despite it containing initPlans. It seems like the real issue here is that if we know we are go

[COMMITTERS] pgsql: Mark a query's topmost Paths parallel-unsafe if they will have i

2016-11-25 Thread Tom Lane
Mark a query's topmost Paths parallel-unsafe if they will have initPlans. Andreas Seltenreich found another case where we were being too optimistic about allowing a plan to be considered parallelizable despite it containing initPlans. It seems like the real issue here is that if we know we are go

[COMMITTERS] pgsql: Bring some clarity to the defaults for the xxx_flush_after param

2016-11-25 Thread Tom Lane
Bring some clarity to the defaults for the xxx_flush_after parameters. Instead of confusingly stating platform-dependent defaults for these parameters in the comments in postgresql.conf.sample (with the main entry being a lie on Linux), teach initdb to install the correct platform-dependent value

[COMMITTERS] pgsql: Bring some clarity to the defaults for the xxx_flush_after param

2016-11-25 Thread Tom Lane
Bring some clarity to the defaults for the xxx_flush_after parameters. Instead of confusingly stating platform-dependent defaults for these parameters in the comments in postgresql.conf.sample (with the main entry being a lie on Linux), teach initdb to install the correct platform-dependent value