Re: portability of "designated initializers"

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: portability of "designated initializers"
Дата
Msg-id 20081123000759.GG3813@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: portability of "designated initializers"  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: portability of "designated initializers"  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: portability of "designated initializers"  (Euler Taveira de Oliveira <euler@timbira.com>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.com> writes:

> > I mean something like this:
> 
> Where/why do you need to do that?

The reloptions patch uses three arrays, one for each type of option
(bool, int, float).  I'm wondering if we could use a single array with
all options, and a union containing the values.  The only problem with
that (AFAICS) is the initialization.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: portability of "designated initializers"
Следующее
От: Tom Lane
Дата:
Сообщение: Re: portability of "designated initializers"