[COMMITTERS] pgsql: Reconcile nodes/*funcs.c with PostgreSQL 10 work.

2017-06-16 Thread Noah Misch
Reconcile nodes/*funcs.c with PostgreSQL 10 work. The _equalTableFunc() omission of coltypmods has semantic significance, but I did not track down resulting user-visible bugs, if any. The other changes are cosmetic only, affecting order. catversion bump due to readfuncs.c field order change. Br

[COMMITTERS] pgsql: Fix dependency, when changing a function's argument/return type.

2017-06-16 Thread Heikki Linnakangas
Fix dependency, when changing a function's argument/return type. When a new base type is created using the old-style procedure of first creating the input/output functions with "opaque" in place of the base type, the "opaque" argument/return type is changed to the final base type, on CREATE TYPE.

[COMMITTERS] pgsql: Fix dependency, when changing a function's argument/return type.

2017-06-16 Thread Heikki Linnakangas
Fix dependency, when changing a function's argument/return type. When a new base type is created using the old-style procedure of first creating the input/output functions with "opaque" in place of the base type, the "opaque" argument/return type is changed to the final base type, on CREATE TYPE.

[COMMITTERS] pgsql: Fix dependency, when changing a function's argument/return type.

2017-06-16 Thread Heikki Linnakangas
Fix dependency, when changing a function's argument/return type. When a new base type is created using the old-style procedure of first creating the input/output functions with "opaque" in place of the base type, the "opaque" argument/return type is changed to the final base type, on CREATE TYPE.

[COMMITTERS] pgsql: Fix dependency, when changing a function's argument/return type.

2017-06-16 Thread Heikki Linnakangas
Fix dependency, when changing a function's argument/return type. When a new base type is created using the old-style procedure of first creating the input/output functions with "opaque" in place of the base type, the "opaque" argument/return type is changed to the final base type, on CREATE TYPE.

[COMMITTERS] pgsql: Fix dependency, when changing a function's argument/return type.

2017-06-16 Thread Heikki Linnakangas
Fix dependency, when changing a function's argument/return type. When a new base type is created using the old-style procedure of first creating the input/output functions with "opaque" in place of the base type, the "opaque" argument/return type is changed to the final base type, on CREATE TYPE.

[COMMITTERS] pgsql: Fix dependency, when changing a function's argument/return type.

2017-06-16 Thread Heikki Linnakangas
Fix dependency, when changing a function's argument/return type. When a new base type is created using the old-style procedure of first creating the input/output functions with "opaque" in place of the base type, the "opaque" argument/return type is changed to the final base type, on CREATE TYPE.

[COMMITTERS] pgsql: doc: Add section about logical replication restrictions

2017-06-16 Thread Peter Eisentraut
doc: Add section about logical replication restrictions Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/3ef97e725e2cbb050ff2e88adc36299bafa188c4 Modified Files -- doc/src/sgml/logical-replication.sgml | 70 +++ 1 file chang

[COMMITTERS] pgsql: Fix ICU collation use on Windows

2017-06-16 Thread Peter Eisentraut
Fix ICU collation use on Windows Windows uses a separate code path for libc locales. The code previously ended up there also if an ICU collation should be used, leading to a crash. Reported-by: Ashutosh Sharma Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/41839

[COMMITTERS] pgsql: Use RangeVarGetRelidExtended() in AlterSequence()

2017-06-16 Thread Peter Eisentraut
Use RangeVarGetRelidExtended() in AlterSequence() This allows us to combine the opening and the ownership check. Reported-by: Robert Haas Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/94da2a6a9a05776953524424a3d8079e54bc5d94 Modified Files -- src/ba

[COMMITTERS] pgsql: doc: Add note that COPY commands are published as INSERTs

2017-06-16 Thread Peter Eisentraut
doc: Add note that COPY commands are published as INSERTs Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/57fb1d677d98d9c02565e47afdbf5e887b095c9f Modified Files -- doc/src/sgml/ref/create_publication.sgml | 5 + 1 file changed, 5 insertions(+) --

[COMMITTERS] pgsql: Teach pgindent to skip files generated by bison or flex automati

2017-06-16 Thread Tom Lane
Teach pgindent to skip files generated by bison or flex automatically. If a .c or .h file corresponds to a .y or .l file, skip indenting it. There's no point in reindenting derived files, and these files tend to confuse pgindent. (Which probably indicates a bug in BSD indent, but I can't get exci

[COMMITTERS] pgsql: Define HAVE_UCOL_STRCOLLUTF8 on Windows

2017-06-16 Thread Peter Eisentraut
Define HAVE_UCOL_STRCOLLUTF8 on Windows This should normally be determined by a configure check, but until someone figures out how to do that on Windows, it's better that the code uses the new function by default. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e426