[COMMITTERS] pgsql: Fix coding rules violations in walreceiver.c

2017-10-03 Thread Alvaro Herrera
Fix coding rules violations in walreceiver.c 1. Since commit b1a9bad9e744 we had pstrdup() inside a spinlock-protected critical section; reported by Andreas Seltenreich. Turn those into strlcpy() to stack-allocated variables instead. Backpatch to 9.6. 2. Since commit 9ed551e0a4fd we had a pfree()

[COMMITTERS] pgsql: Fix coding rules violations in walreceiver.c

2017-10-03 Thread Alvaro Herrera
Fix coding rules violations in walreceiver.c 1. Since commit b1a9bad9e744 we had pstrdup() inside a spinlock-protected critical section; reported by Andreas Seltenreich. Turn those into strlcpy() to stack-allocated variables instead. Backpatch to 9.6. 2. Since commit 9ed551e0a4fd we had a pfree()

[COMMITTERS] pgsql: Fix coding rules violations in walreceiver.c

2017-10-03 Thread Alvaro Herrera
Fix coding rules violations in walreceiver.c 1. Since commit b1a9bad9e744 we had pstrdup() inside a spinlock-protected critical section; reported by Andreas Seltenreich. Turn those into strlcpy() to stack-allocated variables instead. Backpatch to 9.6. 2. Since commit 9ed551e0a4fd we had a pfree()

[COMMITTERS] pgsql: Fix coding rules violations in walreceiver.c

2017-10-03 Thread Alvaro Herrera
Fix coding rules violations in walreceiver.c 1. Since commit b1a9bad9e744 we had pstrdup() inside a spinlock-protected critical section; reported by Andreas Seltenreich. Turn those into strlcpy() to stack-allocated variables instead. Backpatch to 9.6. 2. Since commit 9ed551e0a4fd we had a pfree()

[COMMITTERS] pgsql: Fix coding rules violations in walreceiver.c

2017-10-03 Thread Alvaro Herrera
Fix coding rules violations in walreceiver.c 1. Since commit b1a9bad9e744 we had pstrdup() inside a spinlock-protected critical section; reported by Andreas Seltenreich. Turn those into strlcpy() to stack-allocated variables instead. Backpatch to 9.6. 2. Since commit 9ed551e0a4fd we had a pfree()

[COMMITTERS] pgsql: Fix coding rules violations in walreceiver.c

2017-10-03 Thread Alvaro Herrera
Fix coding rules violations in walreceiver.c 1. Since commit b1a9bad9e744 we had pstrdup() inside a spinlock-protected critical section; reported by Andreas Seltenreich. Turn those into strlcpy() to stack-allocated variables instead. Backpatch to 9.6. 2. Since commit 9ed551e0a4fd we had a pfree()

[COMMITTERS] pgsql: Fix coding rules violations in walreceiver.c

2017-10-03 Thread Alvaro Herrera
Fix coding rules violations in walreceiver.c 1. Since commit b1a9bad9e744 we had pstrdup() inside a spinlock-protected critical section; reported by Andreas Seltenreich. Turn those into strlcpy() to stack-allocated variables instead. Backpatch to 9.6. 2. Since commit 9ed551e0a4fd we had a pfree()

[COMMITTERS] pgsql: Fix race condition with unprotected use of a latch pointer varia

2017-10-03 Thread Tom Lane
Fix race condition with unprotected use of a latch pointer variable. Commit 597a87ccc introduced a latch pointer variable to replace use of a long-lived shared latch in the shared WalRcvData structure. This was not well thought out, because there are now hazards of the pointer variable changing wh

[COMMITTERS] pgsql: Fix race condition with unprotected use of a latch pointer varia

2017-10-03 Thread Tom Lane
Fix race condition with unprotected use of a latch pointer variable. Commit 597a87ccc introduced a latch pointer variable to replace use of a long-lived shared latch in the shared WalRcvData structure. This was not well thought out, because there are now hazards of the pointer variable changing wh

[COMMITTERS] pgsql: Tag refs/tags/REL_10_0 was created

2017-10-03 Thread pgsql
Tag refs/tags/REL_10_0 was created. -- 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: Allow multiple tables to be specified in one VACUUM or ANALYZE c

2017-10-03 Thread Tom Lane
Allow multiple tables to be specified in one VACUUM or ANALYZE command. Not much to say about this; does what it says on the tin. However, formerly, if there was a column list then the ANALYZE action was implied; now it must be specified, or you get an error. This is because it would otherwise b

[COMMITTERS] pgsql: Adjust git_changelog for new-style release tags.

2017-10-03 Thread Tom Lane
Adjust git_changelog for new-style release tags. It wasn't on board with REL_n_n format. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/4736d74479745f0f5a0129fba4628a742034b90e Modified Files -- src/tools/git_changelog | 6 -- 1 file changed, 4 inse