pgsql: Skip dropped attributes when converting Python objects to tuples

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Skip dropped attributes when converting Python objects to tuples
Date: 2011-01-18 22:14:29
Message-ID: E1PfJor-0003BF-6O@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message User Masao_fujii 2011-01-19 07:55:23 pgbulkload - pgbulkload: Fix some typos in Japanese document.
Previous Message Bruce Momjian 2011-01-18 20:53:57 pgsql: In test_fsync, adjust test headings to match wal_sync_method val