aboutsummaryrefslogtreecommitdiff
path: root/contrib/hstore/hstore_gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-02-21 16:12:14 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-02-21 16:12:14 -0500
commit2e211211a76782b6084194a5ced94c0795460047 (patch)
treef98c4ff74b421ecb675e5192c0c1759546d22a86 /contrib/hstore/hstore_gist.c
parente1a11d93111ff3fba7a91f3f2ac0b0aca16909a8 (diff)
downloadpostgresql-2e211211a76782b6084194a5ced94c0795460047.tar.gz
postgresql-2e211211a76782b6084194a5ced94c0795460047.zip
Use FLEXIBLE_ARRAY_MEMBER in a number of other places.
I think we're about done with this...
Diffstat (limited to 'contrib/hstore/hstore_gist.c')
-rw-r--r--contrib/hstore/hstore_gist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/hstore/hstore_gist.c b/contrib/hstore/hstore_gist.c
index 54e96fca38e..f375f5d3542 100644
--- a/contrib/hstore/hstore_gist.c
+++ b/contrib/hstore/hstore_gist.c
@@ -41,7 +41,7 @@ typedef struct
{
int32 vl_len_; /* varlena header (do not touch directly!) */
int32 flag;
- char data[1];
+ char data[FLEXIBLE_ARRAY_MEMBER];
} GISTTYPE;
#define ALLISTRUE 0x04