Re: [GENERAL] psql batch file question

2007-12-11 Thread Joshua D. Drake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 11 Dec 2007 17:50:14 +0100 "Matt Doughty" <[EMAIL PROTECTED]> wrote: > Hi List, > > > > I'm trying to write a batch file that executes a query in PostgreSQL. > Depending on the output of the query, the batch file does one of two > things,

[GENERAL] psql batch file question

2007-12-11 Thread Matt Doughty
Hi List, I'm trying to write a batch file that executes a query in PostgreSQL. Depending on the output of the query, the batch file does one of two things, jumps to a line that has a command to export a table from PostgreSQL, or calls another batch file, which copies some files. What provin