pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Add missing include to pg_upgrade/version.c 3+ messages / 1 participants [nested] [flat]
* pgsql: Add missing include to pg_upgrade/version.c @ 2019-10-16 14:32 Tomas Vondra <tomas.vondra@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Tomas Vondra @ 2019-10-16 14:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add missing include to pg_upgrade/version.c Commit 8d48e6a724 uses RELKIND_ constants when building the query, but did not include the header defining them. On 10+ this header is already included, but on 9.6 and earlier it was missing. It compiles just fine, but then fails during execution ERROR: column "relkind_relation" does not exist Fix by adding the necessary header file, and backpatch to 9.4-. Backpatch-to: 9.4- Discussion: https://postgr.es/m/16045-673e8fa6b5ace196%40postgresql.org Branch ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e09ab32a22058f5f337533f8ac6992744b440caf Modified Files -------------- src/bin/pg_upgrade/version.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Add missing include to pg_upgrade/version.c @ 2019-10-16 14:32 Tomas Vondra <tomas.vondra@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Tomas Vondra @ 2019-10-16 14:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add missing include to pg_upgrade/version.c Commit 8d48e6a724 uses RELKIND_ constants when building the query, but did not include the header defining them. On 10+ this header is already included, but on 9.6 and earlier it was missing. It compiles just fine, but then fails during execution ERROR: column "relkind_relation" does not exist Fix by adding the necessary header file, and backpatch to 9.4-. Backpatch-to: 9.4- Discussion: https://postgr.es/m/16045-673e8fa6b5ace196%40postgresql.org Branch ------ REL9_5_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/984aa0ede1d2323570e890ad625744682909aac1 Modified Files -------------- src/bin/pg_upgrade/version.c | 1 + 1 file changed, 1 insertion(+) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Add missing include to pg_upgrade/version.c @ 2019-10-16 14:32 Tomas Vondra <tomas.vondra@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Tomas Vondra @ 2019-10-16 14:32 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Add missing include to pg_upgrade/version.c Commit 8d48e6a724 uses RELKIND_ constants when building the query, but did not include the header defining them. On 10+ this header is already included, but on 9.6 and earlier it was missing. It compiles just fine, but then fails during execution ERROR: column "relkind_relation" does not exist Fix by adding the necessary header file, and backpatch to 9.4-. Backpatch-to: 9.4- Discussion: https://postgr.es/m/16045-673e8fa6b5ace196%40postgresql.org Branch ------ REL9_4_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/bc3a94dc00059955aeb611d611d064faf66dc2f8 Modified Files -------------- contrib/pg_upgrade/version.c | 2 ++ 1 file changed, 2 insertions(+) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-10-16 14:32 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-10-16 14:32 pgsql: Add missing include to pg_upgrade/version.c Tomas Vondra <tomas.vondra@postgresql.org> 2019-10-16 14:32 pgsql: Add missing include to pg_upgrade/version.c Tomas Vondra <tomas.vondra@postgresql.org> 2019-10-16 14:32 pgsql: Add missing include to pg_upgrade/version.c Tomas Vondra <tomas.vondra@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox