aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2015-08-12 15:52:10 +0200
committerAndres Freund <andres@anarazel.de>2015-08-15 16:19:20 +0200
commitfeb473a57acb648f29e1520b07b146ba1dc4e22d (patch)
treeecf36977ed9c13e2ba39cb8fda010401fb9fa7ba /src
parentf19ad6fbe46afe5005fb0f38ebd436c7cfcbb9ec (diff)
downloadpostgresql-feb473a57acb648f29e1520b07b146ba1dc4e22d.tar.gz
postgresql-feb473a57acb648f29e1520b07b146ba1dc4e22d.zip
Use the correct type for TableInfo->relreplident.
Mistakenly relreplident was stored as a bool. That works today as c.h typedefs bool to a char, but isn't very future proof. Discussion: 20150812084351.GD8470@awork2.anarazel.de Backpatch: 9.4 where replica identity was introduced.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_dump/pg_dump.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_dump/pg_dump.h b/src/bin/pg_dump/pg_dump.h
index da7597ded1c..b40b816bee0 100644
--- a/src/bin/pg_dump/pg_dump.h
+++ b/src/bin/pg_dump/pg_dump.h
@@ -202,7 +202,7 @@ typedef struct _tableInfo
char relkind;
char relpersistence; /* relation persistence */
bool relispopulated; /* relation is populated */
- bool relreplident; /* replica identifier */
+ char relreplident; /* replica identifier */
char *reltablespace; /* relation tablespace */
char *reloptions; /* options specified by WITH (...) */
char *checkoption; /* WITH CHECK OPTION */