Re: psql \d option list overloaded - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: psql \d option list overloaded
Date
Msg-id 3FFEAECE.8000105@dunslane.net
Whole thread Raw
In response to Re: psql \d option list overloaded  (Thomas Swan <tswan@idigx.com>)
List pgsql-hackers

Thomas Swan wrote:

>
>The \d* commands work from psql but not from anywhere else.    Try
>getting the information from a PHP script by sending a "\dS" query.   It
>doesn't work.   If the same queries were stored in the backend and
>referenced by psql and also could be referenced by other scripts, this
>would be a good thing and keep the work centralized.   If the queries
>were in the backend, the psql users could keep the \dS command but it
>would call an internal function or execute a queried stored in the
>system tables.
>
>
>  
>

<leibnitz-mode>
I just independently had this idea, so I like it :-)
</liebnitz-mode>

cheers

andrew



pgsql-hackers by date:

Previous
From: ohp@pyrenet.fr
Date:
Subject: Strand COPY from problem
Next
From: Potuganti Ramu
Date:
Subject: "with grant option" for user groups.