pgsql: PL/Python: Fix type mixup

Started by Peter Eisentrautabout 13 years ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

PL/Python: Fix type mixup

Memory was allocated based on the sizeof a type that was not the type of
the pointer that the result was being assigned to. The types happen to
be of the same size, but it's still wrong.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fa2fc066f34f1b631b5f92f11e7cda9f60a25330

Modified Files
--------------
src/pl/plpython/plpy_typeio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers