Re: plpython issue with Win64 (PG 9.2)
Jan Urbański <wulczer@wulczer.org>
From: Jan Urbański <wulczer@wulczer.org>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Asif Naeem <asif.naeem@enterprisedb.com>,
pgsql-hackers@postgresql.org
Date: 2012-07-05T19:51:42Z
Lists: pgsql-hackers
On 05/07/12 21:37, Heikki Linnakangas wrote: > Committed. This bug was present in versions >= 9.0, so backpatched. Thanks! > I used ereport() rather than elog() in the error message. Correct me if > that was wrong, but the point was to avoid PLy_elog(), because that > might cause recursion, and ereport() should be ok. I believe the message > should be translated, as it's quite possible to get that error, at least > if you use SQL_ASCII, so ereport() is more approriate than elog(). Yes, you're absolutely right. Cheers, Jan