pgsql: Use FLEXIBLE_ARRAY_MEMBER in struct varlena.

Started by Tom Laneover 11 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e38b1eb0986990d539e056a65c6b122b295ce932

Modified Files
--------------
src/backend/access/heap/tuptoaster.c | 8 +++++---
src/backend/storage/large_object/inv_api.c | 16 ++++++++++------
src/include/c.h | 2 +-
3 files changed, 16 insertions(+), 10 deletions(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers