On Fri, Jan 14, 2011 at 7:06 AM, Guillaume Lelarge
<guillaume@lelarge.info> wrote:
> Le 14/01/2011 02:50, Jeremy Palmer a écrit :
>> Is it possible to run pgscripts from the command line? i.e like with:
>>
>
> No, all you can do is launch the query tool and open a script file. But
> it doesn't run it automatically, and you need the usual graphic stuff to
> work.
>
>> http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgscript/pgScript/src/pgsMain.cpp
>>
>> If not it would great if pgadminIII included a command line utility.
>>
>
> Could be interesting to add this to pgAgent too.
There used to be something in xtra/pgScript, but it appears to have bit-rotted.
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company