aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsvector_op.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 /src/backend/utils/adt/tsvector_op.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 'src/backend/utils/adt/tsvector_op.c')
-rw-r--r--src/backend/utils/adt/tsvector_op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/adt/tsvector_op.c b/src/backend/utils/adt/tsvector_op.c
index 3ac15f4d1f0..266a728ef6a 100644
--- a/src/backend/utils/adt/tsvector_op.c
+++ b/src/backend/utils/adt/tsvector_op.c
@@ -44,7 +44,7 @@ typedef struct StatEntry
struct StatEntry *left;
struct StatEntry *right;
uint32 lenlexeme;
- char lexeme[1];
+ char lexeme[FLEXIBLE_ARRAY_MEMBER];
} StatEntry;
#define STATENTRYHDRSZ (offsetof(StatEntry, lexeme))