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:18:44 +0200 |
| commit | a8015fe7f54c6410866d3751783c48e0dabfacde (patch) | |
| tree | f39f3afc8df9cc7e5a71f0f4b3f46750c0cfd2ae /src | |
| parent | 8bd42fe5c715c478a4b3ceb77cb28ef9f18b5486 (diff) | |
| download | postgresql-a8015fe7f54c6410866d3751783c48e0dabfacde.tar.gz | |
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 da7597ded1..b40b816bee 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 */ |
