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

From: Marc Balmer <marc(at)msys(dot)ch>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: For cursors, there is FETCH and MOVE, why no TELL?
Date: 2015-02-09 10:47:48
Message-ID: 54D89054.4040600@msys.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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) ??

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2015-02-09 10:50:52 Re: Parallel Seq Scan
Previous Message Magnus Hagander 2015-02-09 10:38:39 Re: New CF app deployment