pgsql: Separate enum from struct

Started by Peter Eisentrautalmost 10 years ago3 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

#2Stephen Frost
sfrost@snowman.net
In reply to: Peter Eisentraut (#1)
Re: pgsql: Separate enum from struct

Peter,

* Peter Eisentraut (peter_e@gmx.net) wrote:

Separate enum from struct

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

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

Looks like this upset the buildfarm pretty badly...

Thanks!

Stephen

#3Peter Eisentraut
peter_e@gmx.net
In reply to: Stephen Frost (#2)
Re: pgsql: Separate enum from struct

On 9/30/16 3:20 PM, Stephen Frost wrote:

Peter,

* Peter Eisentraut (peter_e@gmx.net) wrote:

Separate enum from struct

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

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

Looks like this upset the buildfarm pretty badly...

Yup, fixed.

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers