From: | Tomas Vondra <tomas(dot)vondra(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add missing include to pg_upgrade/version.c |
Date: | 2019-10-16 14:32:11 |
Message-ID: | E1iKkLT-0004ta-OR@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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(+)
From | Date | Subject | |
---|---|---|---|
Next Message | Tomas Vondra | 2019-10-16 14:32:21 | pgsql: Add missing include to pg_upgrade/version.c |
Previous Message | Tomas Vondra | 2019-10-16 14:32:01 | pgsql: Add missing include to pg_upgrade/version.c |