Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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: plpython-errcontext.patch
Description: text/x-patch (3.8 KB)

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group