pgsql: Fix Latin spelling

2018-01-11 Thread Peter Eisentraut
Fix Latin spelling "c.f." should be "cf.". Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/9e945f862633882cae3183d465f321bd8dd591f9 Modified Files -- src/backend/catalog/catalog.c | 2 +- src/backend/optimizer/util/clauses.c

pgsql: Fix behavior of ~> (cube, int) operator

2018-01-11 Thread Teodor Sigaev
Fix behavior of ~> (cube, int) operator ~> (cube, int) operator was especially designed for knn-gist search. However, it appears that knn-gist search can't work correctly with current behavior of this operator when dataset contains cubes of variable dimensionality. In this case, the same value of

pgsql: Add QueryEnvironment to ExplainOneQuery_hook's parameter list.

2018-01-11 Thread Tom Lane
Add QueryEnvironment to ExplainOneQuery_hook's parameter list. This should have been done in commit 18ce3a4ab, which added that parameter to ExplainOneQuery, but it was overlooked. This makes it impossible for a user of the hook to pass the queryEnv down to ExplainOnePlan. It's too late to

pgsql: Cosmetic fix in postgres_fdw.c.

2018-01-11 Thread Tom Lane
Cosmetic fix in postgres_fdw.c. Make the forward declaration of estimate_path_cost_size match its actual definition. Tatsuro Yamada Discussion: https://postgr.es/m/96f2f554-1eeb-fe6f-e0db-650771886...@lab.ntt.co.jp Branch -- master Details ---

pgsql: doc: add JSON acronym

2018-01-11 Thread Bruce Momjian
doc: add JSON acronym Reported-by: torsten.gr...@gmail.com Discussion: https://postgr.es/m/20171024201849.1488.71...@wrigleys.postgresql.org Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/ca454b9bd34c75995eda4d07c9858f7c22890c2b Modified Files --

pgsql: Refactor subscription tests to use PostgresNode's wait_for_catch

2018-01-11 Thread Peter Eisentraut
Refactor subscription tests to use PostgresNode's wait_for_catchup This was nearly the same code. Extend wait_for_catchup to allow waiting for pg_current_wal_lsn() and use that in the subscription tests. Also change one use in the pg_rewind tests to use this. Also remove some broken code in

pgsql: C comment: fix "the the" mentions in C comments

2018-01-11 Thread Bruce Momjian
C comment: fix "the the" mentions in C comments Reported-by: Christoph Dreis Discussion: https://postgr.es/m/007e01d3519e$2734ca10$759e5e30$@freenet.de Author: Christoph Dreis Branch -- master Details ---