[COMMITTERS] pgsql: Add #define INT64_MODIFIER for the printf length modifier for 64

2014-08-20 Thread Heikki Linnakangas
Add #define INT64_MODIFIER for the printf length modifier for 64-bit ints. We have had INT64_FORMAT and UINT64_FORMAT for a long time, but that's not good enough if you want something more exotic, like "%20lld". Abhijit Menon-Sen, per Andres Freund's suggestion. Branch -- master Details ---

Re: [COMMITTERS] pgsql: Add missing index terms for replication commands in the document

2014-08-20 Thread Michael Paquier
On Thu, Aug 21, 2014 at 8:33 AM, Bruce Momjian wrote: > On Mon, Aug 18, 2014 at 12:28:52PM +0900, Fujii Masao wrote: >> I don't feel inclined to do that because it's not a bug fix. >> I have no objection if many people want that, though... > > Agreed. I often avoid backpatching as it requires tho

Re: [COMMITTERS] pgsql: Add missing index terms for replication commands in the document

2014-08-20 Thread Bruce Momjian
On Mon, Aug 18, 2014 at 12:28:52PM +0900, Fujii Masao wrote: > On Mon, Aug 18, 2014 at 11:48 AM, Michael Paquier > wrote: > > On Mon, Aug 18, 2014 at 11:38 AM, Fujii Masao wrote: > >> Add missing index terms for replication commands in the document. > >> > >> Previously only CREATE_REPLICATION_SL

[COMMITTERS] pgsql: More regression test cases for json/jsonb extraction operators.

2014-08-20 Thread Tom Lane
More regression test cases for json/jsonb extraction operators. Cover some cases I omitted before, such as null and empty-string elements in the path array. This exposes another inconsistency: json_extract_path complains about empty path elements but jsonb_extract_path does not. Branch -- RE

[COMMITTERS] pgsql: More regression test cases for json/jsonb extraction operators.

2014-08-20 Thread Tom Lane
More regression test cases for json/jsonb extraction operators. Cover some cases I omitted before, such as null and empty-string elements in the path array. This exposes another inconsistency: json_extract_path complains about empty path elements but jsonb_extract_path does not. Branch -- ma

[COMMITTERS] pgsql: Fix core dump in jsonb #> operator, and add regression test case

2014-08-20 Thread Tom Lane
Fix core dump in jsonb #> operator, and add regression test cases. jsonb's #> operator segfaulted (dereferencing a null pointer) if the RHS was a zero-length array, as reported in bug #11207 from Justin Van Winkle. json's #> operator returns NULL in such cases, so for the moment let's make jsonb a

[COMMITTERS] pgsql: Fix core dump in jsonb #> operator, and add regression test case

2014-08-20 Thread Tom Lane
Fix core dump in jsonb #> operator, and add regression test cases. jsonb's #> operator segfaulted (dereferencing a null pointer) if the RHS was a zero-length array, as reported in bug #11207 from Justin Van Winkle. json's #> operator returns NULL in such cases, so for the moment let's make jsonb a

[COMMITTERS] pgsql: pg_upgrade: adjust logging to use QUERY_ALLOC lengths

2014-08-20 Thread Bruce Momjian
pg_upgrade: adjust logging to use QUERY_ALLOC lengths Allows the logging to print the entire text of failed queries, rather than a truncated version. Branch -- master Details --- http://git.postgresql.org/pg/commitdiff/7567d94910c100a28a79122e86297cd7a4c90df6 Modified Files ---

[COMMITTERS] pgsql: Use comma+space as the separator in the default search_path.

2014-08-20 Thread Heikki Linnakangas
Use comma+space as the separator in the default search_path. While the space is optional, it seems nicer to be consistent with what you get if you do "SET search_path=...". SET always normalizes the separator to be comma+space. Christoph Martin Branch -- master Details --- http://git.po