aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/ruleutils.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:20:22 +0200
commitfb66e88cf8f7ce7abf27cff1570a703e1cb8f562 (patch)
tree72c07f0b3fa040325394863e0b30c3787128d65a /src/backend/utils/adt/ruleutils.c
parent2f4ee3a2f02f612046ecc134ccf50af10240bbb1 (diff)
downloadpostgresql-fb66e88cf8f7ce7abf27cff1570a703e1cb8f562.tar.gz
postgresql-fb66e88cf8f7ce7abf27cff1570a703e1cb8f562.zip
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/utils/adt/ruleutils.c')
0 files changed, 0 insertions, 0 deletions