[COMMITTERS] pgsql: Fix typo in comment

2017-04-26 Thread Peter Eisentraut
Fix typo in comment Author: Masahiko Sawada Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/6c9bd27aece5efd0ccef668828a44f59bd2c7a44 Modified Files -- src/backend/replication/logical/worker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- S

[COMMITTERS] pgsql: Allow multiple bgworkers to be launched per postmaster iteration

2017-04-26 Thread Tom Lane
Allow multiple bgworkers to be launched per postmaster iteration. Previously, maybe_start_bgworker() would launch at most one bgworker process per call, on the grounds that the postmaster might otherwise neglect its other duties for too long. However, that seems overly conservative, especially si

[COMMITTERS] pgsql: Allow multiple bgworkers to be launched per postmaster iteration

2017-04-26 Thread Tom Lane
Allow multiple bgworkers to be launched per postmaster iteration. Previously, maybe_start_bgworker() would launch at most one bgworker process per call, on the grounds that the postmaster might otherwise neglect its other duties for too long. However, that seems overly conservative, especially si

[COMMITTERS] pgsql: doc PG10: add commit for transition table item

2017-04-26 Thread Bruce Momjian
doc PG10: add commit for transition table item Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/fda4fec578505a624e4c0f0244816ae5bc10a3d1 Modified Files -- doc/src/sgml/release-10.sgml | 2 ++ 1 file changed, 2 insertions(+) -- Sent via pgsql-committers

[COMMITTERS] pgsql: pg_get_partkeydef: return NULL for non-partitions

2017-04-26 Thread Stephen Frost
pg_get_partkeydef: return NULL for non-partitions Our general rule for pg_get_X(oid) functions is to simply return NULL when passed an invalid or inappropriate OID. Teach pg_get_partkeydef to do this also, making it easier for users to use this function when querying against tables with both part

[COMMITTERS] pgsql: Silence compiler warning induced by commit de4389712.

2017-04-26 Thread Tom Lane
Silence compiler warning induced by commit de4389712. Smarter compilers can see that "slot" can't be used uninitialized, but some popular ones cannot. Noted by Jeff Janes. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/49da00677dc25d83be44372918e21a405863ace2 Mod

[COMMITTERS] pgsql: Fix query that gets remote relation info

2017-04-26 Thread Peter Eisentraut
Fix query that gets remote relation info Publisher relation can be incorrectly chosen, if there are more than one relation in different schemas with the same name. Author: Euler Taveira Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/61ecc90be624e699164a8d3efb291e

[COMMITTERS] pgsql: doc: ALTER SUBSCRIPTION documentation fixes

2017-04-26 Thread Peter Eisentraut
doc: ALTER SUBSCRIPTION documentation fixes WITH is optional for REFRESH PUBLICATION. Also, remove a spurious bracket and fix a punctuation. Author: Euler Taveira Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e315346d839ef27f9d5f2584f44de09f08573df2 Modified F

[COMMITTERS] pgsql: Spelling fixes in code comments

2017-04-26 Thread Peter Eisentraut
Spelling fixes in code comments Author: Euler Taveira Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e495c1683f2c243f6769b34a009cf9c28526b555 Modified Files -- src/backend/catalog/pg_publication.c| 2 +- src/backend/catalog/pg_subscription.c

Re: [COMMITTERS] pgsql: Workaround for RecoverPreparedTransactions()

2017-04-26 Thread Simon Riggs
On 26 April 2017 at 15:47, Peter Eisentraut wrote: > On 4/23/17 17:14, Simon Riggs wrote: >> Workaround for RecoverPreparedTransactions() >> >> Force overwriteOK = true while we investigate deeper fix > > This is causing a compiler warning. What is the time line on > reverting/amending this? I w

[COMMITTERS] pgsql: Fix typo in comment.

2017-04-26 Thread Fujii Masao
Fix typo in comment. Author: Masahiko Sawada Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/1f8b060121d654fbb08702752f63d251f5ce8088 Modified Files -- src/backend/commands/subscriptioncmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Se

[COMMITTERS] pgsql: Fix various concurrency issues in logical replication worker lau

2017-04-26 Thread Peter Eisentraut
Fix various concurrency issues in logical replication worker launching The code was originally written with assumption that launcher is the only process starting the worker. However that hasn't been true since commit 7c4f52409 which failed to modify the worker management code adequately. This pa

Re: [COMMITTERS] pgsql: Workaround for RecoverPreparedTransactions()

2017-04-26 Thread Peter Eisentraut
On 4/23/17 17:14, Simon Riggs wrote: > Workaround for RecoverPreparedTransactions() > > Force overwriteOK = true while we investigate deeper fix This is causing a compiler warning. What is the time line on reverting/amending this? -- Peter Eisentraut http://www.2ndQuadrant.com/ Po

[COMMITTERS] pgsql: postgres_fdw: Fix join push down with extensions

2017-04-26 Thread Peter Eisentraut
postgres_fdw: Fix join push down with extensions Objects in an extension are shippable to a foreign server if the extension is part of the foreign server definition's shippable extensions list. But this was not properly considered in some cases when checking whether a join condition can be pushed

[COMMITTERS] pgsql: doc PG10: add Rafia Sabih to parallel index scan item

2017-04-26 Thread Bruce Momjian
doc PG10: add Rafia Sabih to parallel index scan item Reported-by: Amit Kapila Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/309191f66a947c5b63dd348a13aafa52b5847f94 Modified Files -- doc/src/sgml/release-10.sgml | 2 +- 1 file changed, 1 insertion(+)