Re: For cursors, there is FETCH and MOVE, why no TELL? - Mailing list pgsql-hackers

From Marc Balmer
Subject Re: For cursors, there is FETCH and MOVE, why no TELL?
Date
Msg-id 54D89054.4040600@msys.ch
Whole thread Raw
In response to Re: For cursors, there is FETCH and MOVE, why no TELL?  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Responses Re: For cursors, there is FETCH and MOVE, why no TELL?
List pgsql-hackers

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) ??



pgsql-hackers by date:

Previous
From: Magnus Hagander
Date:
Subject: Re: New CF app deployment
Next
From: Amit Kapila
Date:
Subject: Re: Parallel Seq Scan