PL/Python errcontext support

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: PL/Python errcontext support
Date: 2009-07-17 20:15:26
Message-ID: 200907172315.26929.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

During the review of the patch about improved PL/Python data type support, I
figured this could be somewhat simplified if PL/Python used the errcontext()
mechanisms instead of passing the function name around everywhere in order to
use it in error messages.

I have produced the attached patch. The errcontext stuff is a bit obscure to
me though, so perhaps someone could look it over.

Attachment Content-Type Size
plpython-errcontext.patch text/x-patch 3.8 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Dickson S. Guedes 2009-07-17 20:24:16 Re: WIP patch for TODO Item: Add prompt escape to display the client and server versions
Previous Message Laurent Laborde 2009-07-17 20:11:13 Re: Higher TOAST compression.