pgsql: Doc: Fix various typos

2019-08-19 Thread Michael Paquier
Doc: Fix various typos All those fixes are already included on HEAD thanks to for example c96581a and 66bde49, and have gone missing on back-branches. Author: Alexander Lakhin, Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Ba

pgsql: Doc: Fix various typos

2019-08-19 Thread Michael Paquier
Doc: Fix various typos All those fixes are already included on HEAD thanks to for example c96581a and 66bde49, and have gone missing on back-branches. Author: Alexander Lakhin, Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Ba

pgsql: Doc: Fix various typos

2019-08-19 Thread Michael Paquier
Doc: Fix various typos All those fixes are already included on HEAD thanks to for example c96581a and 66bde49, and have gone missing on back-branches. Author: Alexander Lakhin, Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Ba

pgsql: Doc: Fix various typos

2019-08-19 Thread Michael Paquier
Doc: Fix various typos All those fixes are already included on HEAD thanks to for example c96581a and 66bde49, and have gone missing on back-branches. Author: Alexander Lakhin, Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Ba

pgsql: Doc: Fix various typos

2019-08-19 Thread Michael Paquier
Doc: Fix various typos All those fixes are already included on HEAD thanks to for example c96581a and 66bde49, and have gone missing on back-branches. Author: Alexander Lakhin, Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Ba

pgsql: Doc: Fix various typos

2019-08-19 Thread Michael Paquier
Doc: Fix various typos All those fixes are already included on HEAD thanks to for example c96581a and 66bde49, and have gone missing on back-branches. Author: Alexander Lakhin, Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Ba

pgsql: Doc: Improve wording of multiple places in documentation

2019-08-19 Thread Michael Paquier
Doc: Improve wording of multiple places in documentation This has been found during its translation. Author: Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Backpatch-through: 12 Branch -- master Details --- https://g

pgsql: Doc: Improve wording of multiple places in documentation

2019-08-19 Thread Michael Paquier
Doc: Improve wording of multiple places in documentation This has been found during its translation. Author: Liudmila Mantrova Discussion: https://postgr.es/m/caekd-mdjhv3bhgezu3muafjloaksoot86+whukku8_neijy...@mail.gmail.com Backpatch-through: 12 Branch -- REL_12_STABLE Details --- ht

pgsql: Restore json{b}_populate_record{set}'s ability to take type info

2019-08-19 Thread Tom Lane
Restore json{b}_populate_record{set}'s ability to take type info from AS. If the record argument is NULL and has no declared type more concrete than RECORD, we can't extract useful information about the desired rowtype from it. In this case, see if we're in FROM with an AS clause, and if so extra

pgsql: Restore json{b}_populate_record{set}'s ability to take type info

2019-08-19 Thread Tom Lane
Restore json{b}_populate_record{set}'s ability to take type info from AS. If the record argument is NULL and has no declared type more concrete than RECORD, we can't extract useful information about the desired rowtype from it. In this case, see if we're in FROM with an AS clause, and if so extra

pgsql: Restore json{b}_populate_record{set}'s ability to take type info

2019-08-19 Thread Tom Lane
Restore json{b}_populate_record{set}'s ability to take type info from AS. If the record argument is NULL and has no declared type more concrete than RECORD, we can't extract useful information about the desired rowtype from it. In this case, see if we're in FROM with an AS clause, and if so extra

pgsql: Add fmgr.h include to selfuncs.h.

2019-08-19 Thread Andres Freund
Add fmgr.h include to selfuncs.h. Necessary after fb3b098f. That previously escaped notice, because all including sites already include fmgr.h some other way. Reported-By: Tom Lane Author: Andres Freund Discussion: https://postgr.es/m/[email protected] Branch -- master Details

pgsql: Add "headerscheck" script to test header-file compilability unde

2019-08-19 Thread Tom Lane
Add "headerscheck" script to test header-file compilability under C. We already had "cpluspluscheck", which served the dual purposes of verifying that headers compile standalone and that they compile as C++. However, C++ compilers don't have the exact same set of error conditions as C compilers, s

pgsql: Use zic's new "-b slim" option to generate smaller timezone file

2019-08-19 Thread Tom Lane
Use zic's new "-b slim" option to generate smaller timezone files. IANA tzcode release 2019b adds an option that tells zic not to emit the old 32-bit section of the timezone files, and to skip some other space-wasting hacks needed for compatibility with old timezone client libraries. Since we onl

pgsql: Replace genetic algorithm ASCII-art with a real figure

2019-08-19 Thread Alvaro Herrera
Replace genetic algorithm ASCII-art with a real figure Author: Jürgen Purtz Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/28b6ec1df64775db6d6eb47655141cda1240d901 Modified Files ---

pgsql: doc: Fix image use in PDF build with vpath

2019-08-19 Thread Peter Eisentraut
doc: Fix image use in PDF build with vpath In a vpath build, we need to point to the source directory to allow FOP to find the images. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/a407012c07844b5d81012d6960c4b2ec11d6af9c Modified Files -- doc/src/sgm

pgsql: doc: Fix image use in PDF build with vpath

2019-08-19 Thread Peter Eisentraut
doc: Fix image use in PDF build with vpath In a vpath build, we need to point to the source directory to allow FOP to find the images. Branch -- REL_12_STABLE Details --- https://git.postgresql.org/pg/commitdiff/842ac79407a1368308beff230d3e83aad6d82b75 Modified Files -- doc/

pgsql: Fix tab completion for CREATE TYPE in psql

2019-08-19 Thread Michael Paquier
Fix tab completion for CREATE TYPE in psql Oversight in 7bdc655. Author: Alexander Lakhin Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/71851e9ab7ac8409fabc6f64273149aa71fa29f5 Modifi

pgsql: Fix inconsistencies and typos in the tree, take 11

2019-08-19 Thread Michael Paquier
Fix inconsistencies and typos in the tree, take 11 This fixes various typos in docs and comments, and removes some orphaned definitions. Author: Alexander Lakhin Discussion: https://postgr.es/m/[email protected] Branch -- master Details --- https://git.postg