Use FLEXIBLE_ARRAY_MEMBER in struct varlena.
Tom 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
Files
| Path | Change | +/− |
|---|---|---|
| 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 |