Use FLEXIBLE_ARRAY_MEMBER in struct varlena.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: e38b1eb0986990d539e056a65c6b122b295ce932
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-02-20T21:51:53Z
Releases: 9.5.0
Use FLEXIBLE_ARRAY_MEMBER in struct varlena.

This forces some minor coding adjustments in tuptoaster.c and inv_api.c,
but the new coding there is cleaner anyway.

Michael Paquier

Files

PathChange+/−
src/backend/access/heap/tuptoaster.c modified +5 −3
src/backend/storage/large_object/inv_api.c modified +10 −6
src/include/c.h modified +1 −1