pgsql: pgtest: grab possible warnings from install.log

2018-07-28 Thread Bruce Momjian
pgtest: grab possible warnings from install.log Since PG 9.5, 'make check' records the build output in install.log, so look in there for warnings too. Backpatch-through: 9.5 Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/5f2c5890e92c68163cb36b8551d45244d32

pgsql: pgtest: grab possible warnings from install.log

2018-07-28 Thread Bruce Momjian
pgtest: grab possible warnings from install.log Since PG 9.5, 'make check' records the build output in install.log, so look in there for warnings too. Backpatch-through: 9.5 Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/fe25526e9d5cd6418313c63e43d6780187a

pgsql: pgtest: grab possible warnings from install.log

2018-07-28 Thread Bruce Momjian
pgtest: grab possible warnings from install.log Since PG 9.5, 'make check' records the build output in install.log, so look in there for warnings too. Backpatch-through: 9.5 Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/cda8e1182727bb09d77c6ec42bb4abf5ba2

pgsql: pgtest: grab possible warnings from install.log

2018-07-28 Thread Bruce Momjian
pgtest: grab possible warnings from install.log Since PG 9.5, 'make check' records the build output in install.log, so look in there for warnings too. Backpatch-through: 9.5 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/96313bff295ca2c4f7cb144b1feca825db17da23

pgsql: pgtest: grab possible warnings from install.log

2018-07-28 Thread Bruce Momjian
pgtest: grab possible warnings from install.log Since PG 9.5, 'make check' records the build output in install.log, so look in there for warnings too. Backpatch-through: 9.5 Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/f0aff14d43394c669747af244e3c47fb802

pgsql: pg_upgrade: report database names with missing extension libs

2018-07-28 Thread Bruce Momjian
pg_upgrade: report database names with missing extension libs Previously only the missing library name was reported, forcing users to look in all databases to find the library entries. Discussion: https://postgr.es/m/[email protected] Author: Daniel Gustafsson, me Branch --

pgsql: pg_upgrade: check for clean server shutdowns

2018-07-28 Thread Bruce Momjian
pg_upgrade: check for clean server shutdowns Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-

pgsql: pg_upgrade: check for clean server shutdowns

2018-07-28 Thread Bruce Momjian
pg_upgrade: check for clean server shutdowns Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-

pgsql: pg_upgrade: check for clean server shutdowns

2018-07-28 Thread Bruce Momjian
pg_upgrade: check for clean server shutdowns Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-

pgsql: pg_upgrade: check for clean server shutdowns

2018-07-28 Thread Bruce Momjian
pg_upgrade: check for clean server shutdowns Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-

pgsql: pg_upgrade: check for clean server shutdowns

2018-07-28 Thread Bruce Momjian
pg_upgrade: check for clean server shutdowns Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-

pgsql: pg_upgrade: check for clean server shutdowns

2018-07-28 Thread Bruce Momjian
pg_upgrade: check for clean server shutdowns Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-

pgsql: pg_upgrade: check for clean server shutdowns

2018-07-28 Thread Bruce Momjian
pg_upgrade: check for clean server shutdowns Previously pg_upgrade checked for the pid file and started/stopped the server to force a clean shutdown. However, "pg_ctl -m immediate" removes the pid file but doesn't do a clean shutdown, so check pg_controldata for a clean shutdown too. Diagnosed-

pgsql: pgtest: run clean, build, and check stages separately

2018-07-28 Thread Bruce Momjian
pgtest: run clean, build, and check stages separately This allows for cleaner error reporting. Backpatch-through: 9.5 Branch -- REL9_6_STABLE Details --- https://git.postgresql.org/pg/commitdiff/03131abe9b24a9806987f356da53a7a2440f3259 Modified Files -- src/tools/pgtest |

pgsql: pgtest: run clean, build, and check stages separately

2018-07-28 Thread Bruce Momjian
pgtest: run clean, build, and check stages separately This allows for cleaner error reporting. Backpatch-through: 9.5 Branch -- REL_11_STABLE Details --- https://git.postgresql.org/pg/commitdiff/9a513f8f9e87462ec63a9f08bcd2d4a7e1f6fa4d Modified Files -- src/tools/pgtest |

pgsql: pgtest: run clean, build, and check stages separately

2018-07-28 Thread Bruce Momjian
pgtest: run clean, build, and check stages separately This allows for cleaner error reporting. Backpatch-through: 9.5 Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/commitdiff/d524a11a72d65c96d16e6108387f2a8288ba15a6 Modified Files -- src/tools/pgtest |

pgsql: pgtest: run clean, build, and check stages separately

2018-07-28 Thread Bruce Momjian
pgtest: run clean, build, and check stages separately This allows for cleaner error reporting. Backpatch-through: 9.5 Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/e2c0df7828b9e91963a05f5151a7d6eead014132 Modified Files -- src/tools/pgtest | 16

pgsql: pgtest: run clean, build, and check stages separately

2018-07-28 Thread Bruce Momjian
pgtest: run clean, build, and check stages separately This allows for cleaner error reporting. Backpatch-through: 9.5 Branch -- REL9_5_STABLE Details --- https://git.postgresql.org/pg/commitdiff/9903f07491bfa21d8f84ab55b1dd378287cc6029 Modified Files -- src/tools/pgtest |

pgsql: Add verbosity to pg_basebackup for sync

2018-07-28 Thread Michael Paquier
Add verbosity to pg_basebackup for sync This is useful to know when the data copy has been finished. The current situation can be confusing for users as the last message is "waiting for background process to finish streaming", so it looks like this is taking time but the final sync is instead. A

pgsql: Refactor geometric functions and operators

2018-07-28 Thread Tomas Vondra
Refactor geometric functions and operators The primary goal of this patch is to eliminate duplicate code and share code between different geometric data types more often, to prepare the ground for additional patches. Until now the code reuse was limited, probably because the simpler types (line a

pgsql: Provide separate header file for built-in float types

2018-07-28 Thread Tomas Vondra
Provide separate header file for built-in float types Some data types under adt/ have separate header files, but most simple ones do not, and their public functions are defined in builtins.h. As the patches improving geometric types will require making additional functions public, this seems like

pgsql: Document security implications of qualified names.

2018-07-28 Thread Noah Misch
Document security implications of qualified names. Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 documented secure schema usage, and that advice suffices for using unqualified names securely. Document, in typeconv-func primarily, the additional issues that arise with qualified names. Back-patch

pgsql: Document security implications of qualified names.

2018-07-28 Thread Noah Misch
Document security implications of qualified names. Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 documented secure schema usage, and that advice suffices for using unqualified names securely. Document, in typeconv-func primarily, the additional issues that arise with qualified names. Back-patch

pgsql: Document security implications of qualified names.

2018-07-28 Thread Noah Misch
Document security implications of qualified names. Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 documented secure schema usage, and that advice suffices for using unqualified names securely. Document, in typeconv-func primarily, the additional issues that arise with qualified names. Back-patch

pgsql: Document security implications of qualified names.

2018-07-28 Thread Noah Misch
Document security implications of qualified names. Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 documented secure schema usage, and that advice suffices for using unqualified names securely. Document, in typeconv-func primarily, the additional issues that arise with qualified names. Back-patch

pgsql: Document security implications of qualified names.

2018-07-28 Thread Noah Misch
Document security implications of qualified names. Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 documented secure schema usage, and that advice suffices for using unqualified names securely. Document, in typeconv-func primarily, the additional issues that arise with qualified names. Back-patch

pgsql: Document security implications of qualified names.

2018-07-28 Thread Noah Misch
Document security implications of qualified names. Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 documented secure schema usage, and that advice suffices for using unqualified names securely. Document, in typeconv-func primarily, the additional issues that arise with qualified names. Back-patch

pgsql: Document security implications of qualified names.

2018-07-28 Thread Noah Misch
Document security implications of qualified names. Commit 5770172cb0c9df9e6ce27c507b449557e5b45124 documented secure schema usage, and that advice suffices for using unqualified names securely. Document, in typeconv-func primarily, the additional issues that arise with qualified names. Back-patch