[COMMITTERS] pgsql: Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n).

2017-08-20 Thread Andres Freund
Change tupledesc->attrs[n] to TupleDescAttr(tupledesc, n). This is a mechanical change in preparation for a later commit that will change the layout of TupleDesc. Introducing a macro to abstract the details of where attributes are stored will allow us to change that in separate step and revise it

[COMMITTERS] pgsql: Partially flatten struct tupleDesc so that it can be used in DSM

2017-08-20 Thread Andres Freund
Partially flatten struct tupleDesc so that it can be used in DSM. TupleDesc's attributes were already stored in contiguous memory after the struct. Go one step further and get rid of the array of pointers to attributes so that they can be stored in shared memory mapped at different addresses in e

[COMMITTERS] pgsql: Inject $(ICU_LIBS) regardless of platform.

2017-08-20 Thread Noah Misch
Inject $(ICU_LIBS) regardless of platform. It appeared in a conditional that excludes AIX, Cygwin and MinGW. Give ICU support a chance to work on those platforms. Back-patch to v10, where ICU support was introduced. Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/

[COMMITTERS] pgsql: Inject $(ICU_LIBS) regardless of platform.

2017-08-20 Thread Noah Misch
Inject $(ICU_LIBS) regardless of platform. It appeared in a conditional that excludes AIX, Cygwin and MinGW. Give ICU support a chance to work on those platforms. Back-patch to v10, where ICU support was introduced. Branch -- REL_10_STABLE Details --- https://git.postgresql.org/pg/comm