[COMMITTERS] pgsql: Fix typo: pg_statistics -> pg_statistic

2017-01-25 Thread Peter Eisentraut
Fix typo: pg_statistics -> pg_statistic Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/5a366b4ff4ceceb9793fcc13c3f097ee0d32c56d Modified Files -- doc/src/sgml/planstats.sgml | 2 +- doc/src/sgml/release-7.4.sgml | 2 +- doc/src/sgml/release-o

[COMMITTERS] pgsql: Introduce convenience macros to hide JsonbContainer header acces

2017-01-25 Thread Tom Lane
Introduce convenience macros to hide JsonbContainer header accesses better. This improves readability a bit and may make future improvements easier. In passing, make sure that the JB_ROOT_IS_XXX macros deliver boolean (0/1) results; the previous coding was a bug hazard, though no actual bugs are

[COMMITTERS] pgsql: doc: Fix typo

2017-01-25 Thread Peter Eisentraut
doc: Fix typo Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/049ac809a790a9bde478e371da2b68d6b18c5df7 Modified Files -- doc/src/sgml/catalogs.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list (pgsql-co

[COMMITTERS] pgsql: doc: Logical replication documentation improvements

2017-01-25 Thread Peter Eisentraut
doc: Logical replication documentation improvements From: Erik Rijkers Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/98cc5db27c97cccd19c4e67e8e623f2d260a5c35 Modified Files -- doc/src/sgml/logical-replication.sgml | 64 +---

[COMMITTERS] pgsql: Update copyright years in some recently added files

2017-01-25 Thread Peter Eisentraut
Update copyright years in some recently added files Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/3d9e73ea5f5bb280be438a81fbe91936f4ff0601 Modified Files -- src/backend/catalog/pg_publication.c | 3 ++- src/backend/catalog/pg_subscription.c |

[COMMITTERS] pgsql: Close replication connection when slot creation errors

2017-01-25 Thread Peter Eisentraut
Close replication connection when slot creation errors From: Petr Jelinek Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/65df150a18d4a24e6870eb4a3db28ac8a6c23603 Modified Files -- src/backend/commands/subscriptioncmds.c | 18 ++ 1 file c

[COMMITTERS] pgsql: Remove vestigial resolveUnknown arguments from transformSortClau

2017-01-25 Thread Tom Lane
Remove vestigial resolveUnknown arguments from transformSortClause etc. There's really no situation where we don't want these unknown-to-text conversions to happen. The alternative is failure anyway, and the one caller that was passing "false" did so only because it expected the case could not ar

[COMMITTERS] pgsql: doc: Fix typo

2017-01-25 Thread Peter Eisentraut
doc: Fix typo Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/87ecf2d14fa236e894267ef5e702ff08b8965f9d Modified Files -- doc/src/sgml/ref/alter_sequence.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Sent via pgsql-committers mailing list

[COMMITTERS] pgsql: Make UNKNOWN into an actual pseudo-type.

2017-01-25 Thread Tom Lane
Make UNKNOWN into an actual pseudo-type. Previously, type "unknown" was labeled as a base type in pg_type, which perhaps had some sense to it because you were allowed to create tables with unknown-type columns. But now that we don't allow that, it makes more sense to label it a pseudo-type. This

[COMMITTERS] pgsql: Change unknown-type literals to type text in SELECT and RETURNIN

2017-01-25 Thread Tom Lane
Change unknown-type literals to type text in SELECT and RETURNING lists. Previously, we left such literals alone if the query or subquery had no properties forcing a type decision to be made (such as an ORDER BY or DISTINCT clause using that output column). This meant that "unknown" could be an e

[COMMITTERS] pgsql: doc: Update ALTER SEQUENCE documentation to match

2017-01-25 Thread Peter Eisentraut
doc: Update ALTER SEQUENCE documentation to match Update documentation to match change in 0bc1207aeb3de951bf95a9e9899b1256216d65f5. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/123f03ba2c6e2d85a5a900e79dd5f216bfb37e25 Modified Files -- doc/src/sgml/re

[COMMITTERS] pgsql: Improve speed of contrib/postgres_fdw regression tests.

2017-01-25 Thread Tom Lane
Improve speed of contrib/postgres_fdw regression tests. Commit 7012b132d added some tests that consumed an excessive amount of time, more than tripling the time needed for "make installcheck" for this module. Add filter conditions to reduce the number of rows scanned, bringing the runtime down to