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

Поиск
Список
Период
Сортировка
От Jan Urbański
Тема Re: PL/Python result set slicing broken in Python 3
Дата
Msg-id 4FA24A26.5000207@wulczer.org
обсуждение исходный текст
Ответ на PL/Python result set slicing broken in Python 3  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: PL/Python result set slicing broken in Python 3  (Jan Urbański <wulczer@wulczer.org>)
Список 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:
> <http://mail.python.org/pipermail/python-3000/2007-August/009851.html>.
>
> 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.

Cheers,
Jan


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Advisory locks seem rather broken
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Temporary tables under hot standby