summaryrefslogtreecommitdiff
path: root/src/backend/parser/scansup.c
diff options
context:
space:
mode:
authorMichael Meskes <meskes@postgresql.org>2014-05-06 13:04:30 +0200
committerMichael Meskes <meskes@postgresql.org>2014-05-06 13:14:01 +0200
commit3a024c1104248a444caab5fa11b4442a1587a90b (patch)
tree75571a7962d68a766f0a0c4677412110fa3edb20 /src/backend/parser/scansup.c
parentc8fbeeb45ef835a5e513ad167fd984baa7dc00d8 (diff)
Fix handling of array of char pointers in ecpglib.
When array of char * was used as target for a FETCH statement returning more than one row, it tried to store all the result in the first element. Instead it should dump array of char pointers with right offset, use the address instead of the value of the C variable while reading the array and treat such variable as char **, instead of char * for pointer arithmetic. Patch by Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>
Diffstat (limited to 'src/backend/parser/scansup.c')
0 files changed, 0 insertions, 0 deletions