Re: For cursors, there is FETCH and MOVE, why no TELL?

Поиск
Список
Период
Сортировка
От Marc Balmer
Тема Re: For cursors, there is FETCH and MOVE, why no TELL?
Дата
Msg-id 54D89251.20703@msys.ch
обсуждение исходный текст
Ответ на Re: For cursors, there is FETCH and MOVE, why no TELL?  (Marc Balmer <marc@msys.ch>)
Список pgsql-hackers

Am 09.02.15 um 11:47 schrieb Marc Balmer:
> 
> 
> Am 09.02.15 um 10:46 schrieb Heikki Linnakangas:
>> [...] 
>> You could fairly easily write an extension to do that, btw. A C function
>> could call GetPortalByName() and peek into the PortalData.portalPos field.
>>
> 
> Would
> 
> PGresult *PQdescribePortal(PGconn *conn, const char *portalName);
> 
> from libpq also provide this information?  Should there be a way to run
> PQdescribePortal() from psql (e.g. \dP) ??

... and a quickly hacked test program shows that it does *not* return
the cursor position.




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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: What exactly is our CRC algorithm?
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: The return value of allocate_recordbuf()