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