]> granicus.if.org Git - postgresql/commit
Skip dropped attributes when converting Python objects to tuples
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 18 Jan 2011 21:39:09 +0000 (23:39 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 18 Jan 2011 21:39:09 +0000 (23:39 +0200)
commit41282111e6cc73aca4b63dffe950ba7a63e4bd8a
treecef0cc282af21c3415bd7a6c590f1cb5902e6052
parent59ea9ef9aa216d0bc718539cd5622628943d3f21
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
src/pl/plpython/plpython.c