Skip to content

Commit 2360f01

Browse files
committed
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.
1 parent a0104e0 commit 2360f01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bin/pg_dump/pg_dump.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ typedef struct _tableInfo
236236
char relkind;
237237
char relpersistence; /* relation persistence */
238238
bool relispopulated; /* relation is populated */
239-
bool relreplident; /* replica identifier */
239+
char relreplident; /* replica identifier */
240240
char *reltablespace; /* relation tablespace */
241241
char *reloptions; /* options specified by WITH (...) */
242242
char *checkoption; /* WITH CHECK OPTION */

0 commit comments

Comments
 (0)