Re: portability of "designated initializers" - Mailing list pgsql-hackers

From Euler Taveira de Oliveira
Subject Re: portability of "designated initializers"
Date
Msg-id 4928B0BC.9070908@timbira.com
Whole thread Raw
In response to Re: portability of "designated initializers"  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera escreveu:

> 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.
> 
I already tried that and don't use because of portability issues. But I
don't thing 3 (maybe 4 -- when we have string types in it) loops in
sequence are so ugly. IMHO, we can live with that.


--  Euler Taveira de Oliveira http://www.timbira.com/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: portability of "designated initializers"
Next
From: Euler Taveira de Oliveira
Date:
Subject: Re: portability of "designated initializers"