pgsql: Separate enum from struct

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Separate enum from struct
Date: 2016-09-30 19:12:51
Message-ID: E1bq3Ep-00040u-L9@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Separate enum from struct

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

Reviewed-by: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Stephen Frost 2016-09-30 19:20:19 Re: pgsql: Separate enum from struct
Previous Message Peter Eisentraut 2016-09-30 18:11:15 pgsql: Use return instead of exit() in configure