pgsql: docs: tighten up PG 12 release note item on 1k partitions

2019-05-18 Thread Bruce Momjian
docs: tighten up PG 12 release note item on 1k partitions Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/b12db9ff5f09dc60dc05d0e208a5b28728970e55 Modified Files -- doc/src/sgml/release-12.sgml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

pgsql: Make BufFileCreateTemp() ensure that temp tablespaces are set up

2019-05-18 Thread Tom Lane
Make BufFileCreateTemp() ensure that temp tablespaces are set up. If PrepareTempTablespaces() has never been called in the current transaction, OpenTemporaryFile() will fall back to using the default tablespace, which is a bug if the user wanted temp files placed elsewhere. gistInitBuildBuffers()

pgsql: ANSI-ify a few straggler K&R-style function definitions.

2019-05-18 Thread Tom Lane
ANSI-ify a few straggler K&R-style function definitions. We still had a couple of these left in ancient src/port/ files. Convert them to modern style in preparation for switching to a version of pg_bsd_indent that doesn't cope well with K&R style. Discussion: https://postgr.es/m/16886.1558104...@

pgsql: Document jsonpath .** accessor with nesting level filter

2019-05-18 Thread Alexander Korotkov
Document jsonpath .** accessor with nesting level filter It appears that some variants of .** jsonpath accessor are undocumented. In particular undocumented variants are: .**{level} .**{lower_level to upper_level} .**{lower_level to last} This commit adds missing documentation for them. Bra

pgsql: Improve documentation for array subscription in jsonpath

2019-05-18 Thread Alexander Korotkov
Improve documentation for array subscription in jsonpath Usage of expressions and multiple ranges in jsonpath array subscription was undocumented. This commit adds lacking documentation. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/87bcc02f4f739d76703feee0ff8346

pgsql: Fix declarations of couple jsonpath functions

2019-05-18 Thread Alexander Korotkov
Fix declarations of couple jsonpath functions Make jsonb_path_query_array() and jsonb_path_query_first() use PG_FUNCTION_ARGS macro instead of its expansion. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/da24961e9e1d887111d17cc2dcece2e3946ca5a6 Modified Files ---