Re: pl/python quoting functions
Peter Eisentraut <peter_e@gmx.net>
From: Peter Eisentraut <peter_e@gmx.net>
To: Jan Urbański <wulczer@wulczer.org>
Cc: Hitoshi Harada <umi.tanuki@gmail.com>, Postgres - Hackers <pgsql-hackers@postgresql.org>
Date: 2011-02-22T21:48:19Z
Lists: pgsql-hackers
Committed this, with two changes: Changed some things around with the way const char * is propagated. Just casting it away is not nice. Also dropped the error tests in the _quote.sql regression test. This generates three different wordings of error messages from Python with 2.6, 3.1, and 3.2, which I don't care to maintain. Maybe one day we'll have a better solution for this.