Commit a8015fe7 authored by Andres Freund's avatar Andres Freund

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.
parent 8bd42fe5
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment