diff options
author | Tom Lane | 2022-09-09 19:34:04 +0000 |
---|---|---|
committer | Tom Lane | 2022-09-09 19:34:04 +0000 |
commit | b7050e2584803a6abe71fb0b94a63b63e59cff9c (patch) | |
tree | b4b1735e900c73c643c31bb131a52d6d8269d051 /src/makefiles/Makefile.aix | |
parent | f734857a9211afcd4fc068dfa322642b6be99b87 (diff) |
Fix possible omission of variable storage markers in ECPG.
The ECPG preprocessor converted code such as
static varchar str1[10], str2[20], str3[30];
into
static struct varchar_1 { int len; char arr[ 10 ]; } str1 ;
struct varchar_2 { int len; char arr[ 20 ]; } str2 ;
struct varchar_3 { int len; char arr[ 30 ]; } str3 ;
thus losing the storage attribute for the later variables.
Repeat the declaration for each such variable.
(Note that this occurred only for variables declared "varchar"
or "bytea", which may help explain how it escaped detection
for so long.)
Andrey Sokolov
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/makefiles/Makefile.aix')
0 files changed, 0 insertions, 0 deletions