Re: pg_settings.enumval as array - Mailing list pgsql-hackers

From Magnus Hagander
Subject Re: pg_settings.enumval as array
Date
Msg-id 492702D9.5090600@hagander.net
Whole thread Raw
In response to Re: pg_settings.enumval as array  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> Magnus Hagander <magnus@hagander.net> writes:
>> Tom Lane wrote:
>>> Also, the output datatype should be text[] not cstring[].
> 
>> Ok, will change. That requires hardcode of 1009? Or should I a #define
>> to pg_type.h?
> 
> Add a #define (bit surprising we didn't have one already)

Yeah, that surprised me too - which is why I had to ask (in case there
was some strange reason we didn't want it).

Changed and applied. Thanks for your comments!

//Magnus



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Autoconf, libpq and replacement function
Next
From: Magnus Hagander
Date:
Subject: Re: Autoconf, libpq and replacement function