pgsql: Separate enum from struct

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

pgsql: Separate enum from struct

От:
Peter 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 

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 <sfrost@snowman.net>
Дата:
Вложения:
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 

Looks like this upset the buildfarm pretty badly...

Thanks!

Stephen

Re: pgsql: Separate enum from struct

От:
Peter Eisentraut <peter_e@gmx.net>
Дата:
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 
> 
> Looks like this upset the buildfarm pretty badly...

Yup, fixed.


FAQ