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

Re: PL/Python result set slicing broken in Python 3

From: Jan Urbański <wulczer(at)wulczer(dot)org>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/Python result set slicing broken in Python 3
Date: 2012-05-03 09:04:38
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On 02/05/12 20:18, Peter Eisentraut wrote:
> This doesn't work anymore with Python 3:
> rv = plpy.execute(...)
> do_something(rv[0:1])
> Apparently, they changed the C API for doing slicing, or rather made one
> of the two APIs for it silently do nothing.  Details are difficult to
> find, but this email message seems to contain something:
> <>.
> I'll try to sort this out sometime, but if someone wants to take a shot
> at it, go ahead.

Sounds ugly. I'll take a look.


In response to


pgsql-hackers by date

Next:From: Simon RiggsDate: 2012-05-03 09:11:56
Subject: Re: Temporary tables under hot standby
Previous:From: Simon RiggsDate: 2012-05-03 08:43:57
Subject: Re: Advisory locks seem rather broken

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