diff options
author | Andres Freund <andres@anarazel.de> | 2015-08-12 15:52:10 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-08-15 16:19:26 +0200 |
commit | 2360f01efa9041d75cab9a9e7640327979864b2c (patch) | |
tree | 151d6d0fb78cef6ad0ff368276edd4d066d6dde1 /src | |
parent | a0104e08079dc5e7b903c7d6906cc6b64c4ad041 (diff) | |
download | postgresql-2360f01efa9041d75cab9a9e7640327979864b2c.tar.gz postgresql-2360f01efa9041d75cab9a9e7640327979864b2c.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.h | 2 |
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 6fa61a5432d..ffe1facfd2b 100644 --- a/src/bin/pg_dump/pg_dump.h +++ b/src/bin/pg_dump/pg_dump.h @@ -236,7 +236,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 */ |