mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
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.
This commit is contained in:
parent
f19ad6fbe4
commit
feb473a57a
@ -202,7 +202,7 @@ typedef struct _tableInfo
|
|||||||
char relkind;
|
char relkind;
|
||||||
char relpersistence; /* relation persistence */
|
char relpersistence; /* relation persistence */
|
||||||
bool relispopulated; /* relation is populated */
|
bool relispopulated; /* relation is populated */
|
||||||
bool relreplident; /* replica identifier */
|
char relreplident; /* replica identifier */
|
||||||
char *reltablespace; /* relation tablespace */
|
char *reltablespace; /* relation tablespace */
|
||||||
char *reloptions; /* options specified by WITH (...) */
|
char *reloptions; /* options specified by WITH (...) */
|
||||||
char *checkoption; /* WITH CHECK OPTION */
|
char *checkoption; /* WITH CHECK OPTION */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user