Re: pl/python tracebacks v2

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Jan Urbański <wulczer(at)wulczer(dot)org>
Cc: Postgres - Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pl/python tracebacks v2
Date: 2011-04-20 20:22:33
Message-ID: 1303330953.24785.15.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 2011-04-06 at 23:54 +0200, Jan Urbański wrote:
> > Ouch, just today I found a flaw in this, namely that it assumes the
> > lineno from the traceback always refers to the PL/Python function. If
> > you create a PL/Python function that imports some code, runs it, and
> > that code raises an exception, PLy_traceback will get utterly confused.
> >
> > Working on a fix...
>
> Here's the fix.

Committed.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-04-20 20:25:12 Re: Formatting Curmudgeons WAS: MMAP Buffers
Previous Message Simon Riggs 2011-04-20 20:21:33 Re: Still more REINDEX fun