pgsql: Refactor dlopen() support

2018-09-06 Thread Peter Eisentraut
Refactor dlopen() support Nowadays, all platforms except Windows and older HP-UX have standard dlopen() support. So having a separate implementation per platform under src/backend/port/dynloader/ is a bit excessive. Instead, treat dlopen() like other library functions that happen to be missing s

[no subject]

2018-09-06 Thread [email protected]
Why can not those shared catalog tables take lock via fast path if eligible? User tables and local catalog tables can take lock via fast path .

Re: pgsql: Allow extensions to install built as well as unbuilt headers.

2018-09-06 Thread Tom Lane
Andrew Gierth writes: > "Michael" == Michael Paquier writes: > Michael> prairiedog is unhappy with this commit: > What version of GNU Make is on there, do you know? Tom? I don't see it > mentioned in the output anywhere. $ make -v GNU Make 3.80 Copyright (C) 2002 Free Software Foundation, Inc

Re: pgsql: Allow extensions to install built as well as unbuilt headers.

2018-09-06 Thread Tom Lane
Andrew Gierth writes: > Consulting old manuals suggests it may have version 3.80 (c. 2002), > which lacks the 'else if..' syntax introduced in 3.81 (c. 2006). Right; I haven't updated it because that's specifically called out to be the minimum supported version in our docs (cf installation.sgml).

pgsql: Make contrib/unaccent's unaccent() function work when not in sea

2018-09-06 Thread Tom Lane
Make contrib/unaccent's unaccent() function work when not in search path. Since the fixes for CVE-2018-1058, we've advised people to schema-qualify function references in order to fix failures in code that executes under a minimal search_path setting. However, that's insufficient to make the sing

pgsql: Make contrib/unaccent's unaccent() function work when not in sea

2018-09-06 Thread Tom Lane
Make contrib/unaccent's unaccent() function work when not in search path. Since the fixes for CVE-2018-1058, we've advised people to schema-qualify function references in order to fix failures in code that executes under a minimal search_path setting. However, that's insufficient to make the sing

pgsql: Make contrib/unaccent's unaccent() function work when not in sea

2018-09-06 Thread Tom Lane
Make contrib/unaccent's unaccent() function work when not in search path. Since the fixes for CVE-2018-1058, we've advised people to schema-qualify function references in order to fix failures in code that executes under a minimal search_path setting. However, that's insufficient to make the sing

pgsql: Make contrib/unaccent's unaccent() function work when not in sea

2018-09-06 Thread Tom Lane
Make contrib/unaccent's unaccent() function work when not in search path. Since the fixes for CVE-2018-1058, we've advised people to schema-qualify function references in order to fix failures in code that executes under a minimal search_path setting. However, that's insufficient to make the sing

pgsql: Make contrib/unaccent's unaccent() function work when not in sea

2018-09-06 Thread Tom Lane
Make contrib/unaccent's unaccent() function work when not in search path. Since the fixes for CVE-2018-1058, we've advised people to schema-qualify function references in order to fix failures in code that executes under a minimal search_path setting. However, that's insufficient to make the sing

pgsql: Make contrib/unaccent's unaccent() function work when not in sea

2018-09-06 Thread Tom Lane
Make contrib/unaccent's unaccent() function work when not in search path. Since the fixes for CVE-2018-1058, we've advised people to schema-qualify function references in order to fix failures in code that executes under a minimal search_path setting. However, that's insufficient to make the sing

pgsql: Make contrib/unaccent's unaccent() function work when not in sea

2018-09-06 Thread Tom Lane
Make contrib/unaccent's unaccent() function work when not in search path. Since the fixes for CVE-2018-1058, we've advised people to schema-qualify function references in order to fix failures in code that executes under a minimal search_path setting. However, that's insufficient to make the sing

pgsql: Fix inconsistent argument naming.

2018-09-06 Thread Tom Lane
Fix inconsistent argument naming. Typo in commit 842cb9fa6. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/75f7855369ec56d4a8e7d6eae98aff1182b85cac Modified Files -- src/port/dlopen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)

Re: pgsql: Allow extensions to install built as well as unbuilt headers.

2018-09-06 Thread Andrew Gierth
> "Tom" == Tom Lane writes: > Andrew Gierth writes: >> Consulting old manuals suggests it may have version 3.80 (c. 2002), >> which lacks the 'else if..' syntax introduced in 3.81 (c. 2006). Tom> Right; I haven't updated it because that's specifically called out to Tom> be the minimum

pgsql: doc: wording fix

2018-09-06 Thread Bruce Momjian
doc: wording fix Author: Liudmila Mantrova Backpatch-through: 9.6 and 10 only Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/fb4045caadd9c08d30e7a10bbab3ba9e57e037bc Modified Files -- doc/src/sgml/pgtrgm.sgml | 2 +- 1 file changed, 1 insertion

pgsql: doc: wording fix

2018-09-06 Thread Bruce Momjian
doc: wording fix Author: Liudmila Mantrova Backpatch-through: 9.6 and 10 only Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/ee2b0a392ff843a7f8539f907498d550bfe51462 Modified Files -- doc/src/sgml/pgtrgm.sgml | 2 +- 1 file changed, 1 insertion