Skip dropped attributes when converting Python objects to tuples

Peter Eisentraut <peter_e@gmx.net>

Commit: 41282111e6cc73aca4b63dffe950ba7a63e4bd8a
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2011-01-18T21:39:09Z
Releases: 9.1.0
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

Files

PathChange+/−
src/pl/plpython/plpython.c modified +21 −2