Обсуждение: pgsql: Separate enum from struct

Поиск
Список
Период
Сортировка

pgsql: Separate enum from struct

От
Peter Eisentraut
Дата:
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(-)


Re: pgsql: Separate enum from struct

От
Stephen Frost
Дата:
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

Вложения

Re: pgsql: Separate enum from struct

От
Peter Eisentraut
Дата:
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.