Thank you Jonathan and Lele!
I'll look at pgspecial, looks like I will be able to use it.
Ciao!
Ugo
On Monday, October 31, 2016 at 3:07:41 PM UTC-4, Lele Gaifax wrote:
>
> Jonathan Vanasco > writes:
>
> > I believe the answer is no.
> >
> > IIRC, those psql commands are shortcuts within psql
Jonathan Vanasco writes:
> I believe the answer is no.
>
> IIRC, those psql commands are shortcuts within psql... and the various
> drivers (psycopg2, etc) don't support them.
Right. Some of those commands are exposed by
https://pypi.python.org/pypi/pgspecial, used for example by pgcli, a
Pytho
I believe the answer is no.
IIRC, those psql commands are shortcuts within psql... and the various
drivers (psycopg2, etc) don't support them.
A workaround is to use the underlying query against postgresql's tables
(http://stackoverflow.com/questions/31532489/meta-commands-in-psycopg2-d-not-wor