pgsql: Add nbtree ScalarArrayOpExpr tests.

2020-04-30 Thread Peter Geoghegan
Add nbtree ScalarArrayOpExpr tests. Add test coverage for the nbtutils.c routines concerned with IndexScans that have native ScalarArrayOpExpr quals. The ScalarArrayOpExpr specialized mark and restore routines, and the "find extreme element" routine now have some test coverage. These functions a

Re: pgsql: Add deduplication to nbtree.

2020-04-30 Thread Peter Geoghegan
On Thu, Apr 30, 2020 at 11:37 AM Peter Geoghegan wrote: > > The following change fixes it: > > Your fix looks good to me. Please go ahead and commit it. Actually, never mind. I just pushed your fix myself a moment ago. Thanks again -- Peter Geoghegan

pgsql: Fix AddressSanitizer use-after-scope complaint.

2020-04-30 Thread Peter Geoghegan
Fix AddressSanitizer use-after-scope complaint. XLogRegisterBufData() does not copy data pointed to by caller's pointer argument. Oversight in commit 0d861bbb702. Author: Peter Eisentraut Reported-By: Peter Eisentraut Discussion: https://postgr.es/m/21800dbe-a13e-22f7-d423-b81db9d24...@2ndquadr

Re: pgsql: Add deduplication to nbtree.

2020-04-30 Thread Peter Geoghegan
On Thu, Apr 30, 2020 at 11:33 AM Peter Eisentraut wrote: > AddressSanitizer has a use-after-scope complaint related to this patch. > > The following change fixes it: Your fix looks good to me. Please go ahead and commit it. Thanks! -- Peter Geoghegan

Re: pgsql: Add deduplication to nbtree.

2020-04-30 Thread Peter Eisentraut
On 2020-02-26 22:06, Peter Geoghegan wrote: > Add deduplication to nbtree. AddressSanitizer has a use-after-scope complaint related to this patch. The following change fixes it: diff --git a/src/backend/access/nbtree/nbtinsert.c b/src/backend/access/nbtree/nbtinsert.c index a70b64d964..8246ab4f

pgsql: Doc: update sections 9.14 - 9.16 for new function table layout.

2020-04-30 Thread Tom Lane
Doc: update sections 9.14 - 9.16 for new function table layout. Minor editorial changes in the first two sections; larger ones in the JSON section. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/30e82f1bc9888d7f84bdcad33f460dd8db752b08 Modified Files -

pgsql: Make SQL/JSON error code names match SQL standard

2020-04-30 Thread Peter Eisentraut
Make SQL/JSON error code names match SQL standard see also a00c53b0cb Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/eb892102e01a2073df9250d65e33ec1ed21798df Modified Files -- src/backend/utils/adt/jsonpath_exec.c | 4 ++-- src/backend/utils/errcodes.tx

pgsql: Update config.guess and config.sub

2020-04-30 Thread Peter Eisentraut
Update config.guess and config.sub Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/7462c1d78cd8bc1cfca352cef0e3e234b9d3b62b Modified Files -- config/config.guess | 111 +--- config/config.sub | 33 +++