diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2015-02-20 17:50:18 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2015-02-20 17:50:18 -0500 |
commit | 33b2a2c97f3dd4cf8bbc2c020e34129886367b72 (patch) | |
tree | 56580daeff63dca5ea7979769c33d6e9994b59c5 /contrib/postgres_fdw/postgres_fdw.c | |
parent | 33a3b03d636b529b27f869e332b6344d52635331 (diff) | |
download | postgresql-33b2a2c97f3dd4cf8bbc2c020e34129886367b72.tar.gz postgresql-33b2a2c97f3dd4cf8bbc2c020e34129886367b72.zip |
Fix statically allocated struct with FLEXIBLE_ARRAY_MEMBER member.
clang complains about this, not unreasonably, so define another struct
that's explicitly for a WordEntryPos with exactly one element.
While at it, get rid of pretty dubious use of a static variable for
more than one purpose --- if it were being treated as const maybe
I'd be okay with this, but it isn't.
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions