[COMMITTERS] pgsql: shm_mq: Repair breakage from previous commit.

2015-10-22 Thread Robert Haas
shm_mq: Repair breakage from previous commit. If the counterparty writes some data into the queue and then detaches, it's wrong to return SHM_MQ_DETACHED right away. If we do that, we fail to read whatever was written. Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/com

[COMMITTERS] pgsql: shm_mq: Repair breakage from previous commit.

2015-10-22 Thread Robert Haas
shm_mq: Repair breakage from previous commit. If the counterparty writes some data into the queue and then detaches, it's wrong to return SHM_MQ_DETACHED right away. If we do that, we fail to read whatever was written. Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/com

[COMMITTERS] pgsql: shm_mq: Repair breakage from previous commit.

2015-10-22 Thread Robert Haas
shm_mq: Repair breakage from previous commit. If the counterparty writes some data into the queue and then detaches, it's wrong to return SHM_MQ_DETACHED right away. If we do that, we fail to read whatever was written. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff

[COMMITTERS] pgsql: Add two missing cases to ATWrongRelkindError.

2015-10-22 Thread Robert Haas
Add two missing cases to ATWrongRelkindError. This way, we produce a better error message if someone tries to do something like ALTER INDEX .. ALTER COLUMN .. SET STORAGE. Amit Langote Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/17b07afae341c05f2dae1b6c58

[COMMITTERS] pgsql: Add two missing cases to ATWrongRelkindError.

2015-10-22 Thread Robert Haas
Add two missing cases to ATWrongRelkindError. This way, we produce a better error message if someone tries to do something like ALTER INDEX .. ALTER COLUMN .. SET STORAGE. Amit Langote Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/872101bede26444324059ba0f27c3b1c8

[COMMITTERS] pgsql: shm_mq: Fix failure to notice a dead counterparty when nowait is

2015-10-22 Thread Robert Haas
shm_mq: Fix failure to notice a dead counterparty when nowait is used. The shm_mq mechanism was intended to optionally notice when the process on the other end of the queue fails to attach to the queue. It does this by allowing the user to pass a BackgroundWorkerHandle; if the background worker i

[COMMITTERS] pgsql: shm_mq: Fix failure to notice a dead counterparty when nowait is

2015-10-22 Thread Robert Haas
shm_mq: Fix failure to notice a dead counterparty when nowait is used. The shm_mq mechanism was intended to optionally notice when the process on the other end of the queue fails to attach to the queue. It does this by allowing the user to pass a BackgroundWorkerHandle; if the background worker i

[COMMITTERS] pgsql: shm_mq: Fix failure to notice a dead counterparty when nowait is

2015-10-22 Thread Robert Haas
shm_mq: Fix failure to notice a dead counterparty when nowait is used. The shm_mq mechanism was intended to optionally notice when the process on the other end of the queue fails to attach to the queue. It does this by allowing the user to pass a BackgroundWorkerHandle; if the background worker i

[COMMITTERS] pgsql: Fix typos in comments.

2015-10-22 Thread Robert Haas
Fix typos in comments. CharSyam Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/31ba62ce32940146b6c818e9bf30b2555797c43d Modified Files -- src/backend/access/transam/multixact.c |2 +- src/backend/access/transam/parallel.c |2 +- src/backend/execu

[COMMITTERS] pgsql: doc: Add advice on updating checkpoint_segments to max_wal_size

2015-10-22 Thread Peter Eisentraut
doc: Add advice on updating checkpoint_segments to max_wal_size with suggestion from Michael Paquier Branch -- REL9_5_STABLE Details --- http://git.postgresql.org/pg/commitdiff/85e30f57cb33294107fc17704a5d8874439e0ae5 Modified Files -- doc/src/sgml/release-9.5.sgml | 16 ++

[COMMITTERS] pgsql: doc: Add advice on updating checkpoint_segments to max_wal_size

2015-10-22 Thread Peter Eisentraut
doc: Add advice on updating checkpoint_segments to max_wal_size with suggestion from Michael Paquier Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/8f2977b3ec2fbb98ee36045d4e2be81ca4c293e0 Modified Files -- doc/src/sgml/release-9.5.sgml | 16 +

[COMMITTERS] pgsql: Remove redundant CREATEUSER/NOCREATEUSER options in CREATE ROLE

2015-10-22 Thread Tom Lane
Remove redundant CREATEUSER/NOCREATEUSER options in CREATE ROLE et al. Once upon a time we did not have a separate CREATEROLE privilege, and CREATEUSER effectively meant SUPERUSER. When we invented CREATEROLE (in 8.1) we also added SUPERUSER so as to have a less confusing keyword for this role pr

[COMMITTERS] pgsql: Fix a couple of bugs in recent parallelism-related commits.

2015-10-22 Thread Robert Haas
Fix a couple of bugs in recent parallelism-related commits. Commit 816e336f12ecabdc834d4cc31bcf966b2dd323dc added the wrong error check to async.c; sending restrictions is restricted to the leader, not altogether unsafe. Commit 3bd909b220930f21d6e15833a17947be749e7fde added ExecShutdownNode to tr

[COMMITTERS] pgsql: Add header comments to execParallel.c and nodeGather.c.

2015-10-22 Thread Robert Haas
Add header comments to execParallel.c and nodeGather.c. Patch by me, per a note from Simon Riggs. Reviewed by Amit Kapila and Amit Langote. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/1a219fa15bf802d69621e71c43d1a09515bcdc50 Modified Files -- src/ba