pgsql: Skip dropped attributes when converting Python objects to tuples
pgsql: Skip dropped attributes when converting Python objects to tuples
От:
Peter 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(-)