pgsql: Skip dropped attributes when converting Python objects to tuples

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

Skip dropped attributes when converting Python objects to tuples

Pay attention to the attisdropped field and skip over TupleDesc fields
that have it set. Not a real problem until we get table returning
functions, but it's the right thing to do anyway.

Jan Urbański

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=41282111e6cc73aca4b63dffe950ba7a63e4bd8a

Modified Files
--------------
src/pl/plpython/plpython.c | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)