aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw
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:04:30 +0200
commitb4eeb9d58ec9237a3f2a9d6c5b1d4374beb2e675 (patch)
treecb71e13a9aa30d854cdec38972a37403d02928e7 /contrib/postgres_fdw
parent4f4ef042fddb9698fe4147ca15d92992206d3fbb (diff)
downloadpostgresql-b4eeb9d58ec9237a3f2a9d6c5b1d4374beb2e675.tar.gz
postgresql-b4eeb9d58ec9237a3f2a9d6c5b1d4374beb2e675.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 'contrib/postgres_fdw')
0 files changed, 0 insertions, 0 deletions