Re: [HACKERS] flexible array members

2011-06-16 Thread Peter Eisentraut
On ons, 2011-06-15 at 18:19 -0400, Tom Lane wrote: Peter Eisentraut pete...@gmx.net writes: Is this a route we want to go down? - GISTENTRY vector[1]; /* variable-length array */ + GISTENTRY vector[FLEXIBLE_ARRAY_MEMBER]; Yes, I was thinking about the

Re: [HACKERS] flexible array members

2011-06-16 Thread Brar Piening
On Thu, 16 Jun 2011 22:49:45 +0300, Peter Eisentraut pete...@gmx.net wrote: This macro is provided by Autoconf and it appears to be using the standard's terminology. commit dbbba5279f66f95805c1e084e6f646d174931e56 refs/heads/master Author: Peter Eisentraut pete...@gmx.net Date: Thu Jun 16

Re: [HACKERS] flexible array members

2011-06-15 Thread Tom Lane
Peter Eisentraut pete...@gmx.net writes: Is this a route we want to go down? - GISTENTRY vector[1]; /* variable-length array */ + GISTENTRY vector[FLEXIBLE_ARRAY_MEMBER]; Yes, I was thinking about the same trick after noting these warnings on Fedora 15,