[COMMITTERS] pgsql: pg_upgrade docs: clarify instructions on standby extensions

2017-02-25 Thread Bruce Momjian
pg_upgrade docs: clarify instructions on standby extensions Previously the pg_upgrade standby upgrade instructions said not to execute pgcrypto.sql, but it should have referenced the extension command "CREATE EXTENSION pgcrypto". This patch makes that doc change. Reported-by: a private bug repo

[COMMITTERS] pgsql: pg_upgrade docs: clarify instructions on standby extensions

2017-02-25 Thread Bruce Momjian
pg_upgrade docs: clarify instructions on standby extensions Previously the pg_upgrade standby upgrade instructions said not to execute pgcrypto.sql, but it should have referenced the extension command "CREATE EXTENSION pgcrypto". This patch makes that doc change. Reported-by: a private bug repo

[COMMITTERS] pgsql: pg_upgrade docs: clarify instructions on standby extensions

2017-02-25 Thread Bruce Momjian
pg_upgrade docs: clarify instructions on standby extensions Previously the pg_upgrade standby upgrade instructions said not to execute pgcrypto.sql, but it should have referenced the extension command "CREATE EXTENSION pgcrypto". This patch makes that doc change. Reported-by: a private bug repo

[COMMITTERS] pgsql: pg_upgrade docs: clarify instructions on standby extensions

2017-02-25 Thread Bruce Momjian
pg_upgrade docs: clarify instructions on standby extensions Previously the pg_upgrade standby upgrade instructions said not to execute pgcrypto.sql, but it should have referenced the extension command "CREATE EXTENSION pgcrypto". This patch makes that doc change. Reported-by: a private bug repo

[COMMITTERS] pgsql: Add /config.cache to .gitignore in back branches

2017-02-25 Thread Bruce Momjian
Add /config.cache to .gitignore in back branches For some reason config.cache was not being git-ignored in these back branches. Backpatch-through: 9.2 to 9.4 Branch -- REL9_2_STABLE Details --- http://git.postgresql.org/pg/commitdiff/3703cfead94a18d9eff5b89203244d650a1a791c Modified Fi

[COMMITTERS] pgsql: Add /config.cache to .gitignore in back branches

2017-02-25 Thread Bruce Momjian
Add /config.cache to .gitignore in back branches For some reason config.cache was not being git-ignored in these back branches. Backpatch-through: 9.2 to 9.4 Branch -- REL9_4_STABLE Details --- http://git.postgresql.org/pg/commitdiff/1f0d78863eb88ca8ee9c3b5215d532900e722e57 Modified Fi

[COMMITTERS] pgsql: Add /config.cache to .gitignore in back branches

2017-02-25 Thread Bruce Momjian
Add /config.cache to .gitignore in back branches For some reason config.cache was not being git-ignored in these back branches. Backpatch-through: 9.2 to 9.4 Branch -- REL9_3_STABLE Details --- http://git.postgresql.org/pg/commitdiff/6987277619f218d4056178ac1d9c6d9ef8efc9c8 Modified Fi

[COMMITTERS] pgsql: Remove useless duplicate inclusions of system header files.

2017-02-25 Thread Tom Lane
Remove useless duplicate inclusions of system header files. c.h #includes a number of core libc header files, such as . There's no point in re-including these after having read postgres.h, postgres_fe.h, or c.h; so remove code that did so. While at it, also fix some places that were ignoring our

[COMMITTERS] pgsql: Remove some configure header-file checks that we weren't really

2017-02-25 Thread Tom Lane
Remove some configure header-file checks that we weren't really using. We had some AC_CHECK_HEADER tests that were really wastes of cycles, because the code proceeded to #include those headers unconditionally anyway, in all or a large majority of cases. The lack of complaints shows that those hea

[COMMITTERS] pgsql: Put back #include in dirmod.c.

2017-02-25 Thread Tom Lane
Put back #include in dirmod.c. I removed this in commit 9e3755ecb, reasoning that the win32.h port-specific header file included by c.h would have provided it. However, that's only true on native win32 builds, not Cygwin builds. It may be that some of the other inclusions also need to be put ba