pgsql: Use FLEXIBLE_ARRAY_MEMBER in struct varlena.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use FLEXIBLE_ARRAY_MEMBER in struct varlena.
Date: 2015-02-20 21:51:58
Message-ID: E1YOvUM-0002dW-T4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2015-02-20 22:03:16 pgsql: Use FLEXIBLE_ARRAY_MEMBER in struct RecordIOData.
Previous Message Alvaro Herrera 2015-02-20 17:06:45 pgsql: Remove unnecessary and unreliable test