pgsql: Separate enum from struct - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Separate enum from struct
Date
Msg-id E1bq3Ep-00040u-L9@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Separate enum from struct  (Stephen Frost <sfrost@snowman.net>)
List pgsql-committers
Separate enum from struct

Otherwise the enum symbols are not visible outside the struct in C++.

Reviewed-by: Thomas Munro <thomas.munro@enterprisedb.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/330b48b94b53bcbbc490f952d6798d5ab637721a

Modified Files
--------------
src/include/utils/jsonb.h | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Fix use of offsetof()
Next
From: Stephen Frost
Date:
Subject: Re: pgsql: Separate enum from struct