pgsql: Use the correct type for TableInfo->relreplident.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use the correct type for TableInfo->relreplident.
Date: 2015-08-15 14:32:16
Message-ID: E1ZQcVM-0004bj-St@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)GD8470(at)awork2(dot)anarazel(dot)de
Backpatch: 9.4 where replica identity was introduced.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2360f01efa9041d75cab9a9e7640327979864b2c

Modified Files
--------------
src/bin/pg_dump/pg_dump.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2015-08-15 14:50:56 pgsql: Don't use 'bool' as a struct member name in help_config.c.
Previous Message Andres Freund 2015-08-15 14:32:15 pgsql: Use the correct type for TableInfo->relreplident.