aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/geo_ops.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2022-09-09 15:34:04 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2022-09-09 15:34:04 -0400
commit9fbc6d5483b00006351374ef6b3bc176c0175ed5 (patch)
treec833f5ff72bc0d6166850587ded019ff17ad6f8f /src/backend/utils/adt/geo_ops.c
parent23fe89a612238e269b621245fe9e4c882b9ef07b (diff)
downloadpostgresql-9fbc6d5483b00006351374ef6b3bc176c0175ed5.tar.gz
postgresql-9fbc6d5483b00006351374ef6b3bc176c0175ed5.zip
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/942241662288242@mail.yandex.ru
Diffstat (limited to 'src/backend/utils/adt/geo_ops.c')
0 files changed, 0 insertions, 0 deletions