diff options
author | Tomas Vondra <tomas.vondra@postgresql.org> | 2019-10-16 16:08:40 +0200 |
---|---|---|
committer | Tomas Vondra <tomas.vondra@postgresql.org> | 2019-10-16 16:23:09 +0200 |
commit | 984aa0ede1d2323570e890ad625744682909aac1 (patch) | |
tree | d78f102554e6564786305b6e350030387a3b62a7 /src/tutorial/funcs.c | |
parent | f57b01dd75ee887672f44205b817bcf2146e8c00 (diff) |
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
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions