From: | "Anjan Dave" <adave(at)vantage(dot)com> |
---|---|
To: | "Charles Haron" <charles(dot)haron(at)cognitive(dot)com>, <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: How to use psql -c? |
Date: | 2003-12-29 20:54:21 |
Message-ID: | 203C7FC3FF2D7A4588CE0429A87F3C9A06FF17@vt-pe2550-001.vantage.vantage.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Chuck,
Report bugs to <pgsql-bugs(at)postgresql(dot)org>.
-bash-2.05b$ psql -c 'select version();' template1
version
------------------------------------------------------------------------
---------------------------------
PostgreSQL 7.2.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2
20020903 (Red Hat Linux 8.0 3.2-7)
(1 row)
-bash-2.05b$
Thanks,
Anjan
-----Original Message-----
From: Charles Haron [mailto:charles(dot)haron(at)cognitive(dot)com]
Sent: Monday, December 29, 2003 3:49 PM
To: pgsql-admin(at)postgresql(dot)org
Subject: [ADMIN] How to use psql -c?
Hello,
Can someone give me an example of how to use the -c option of psql? I
can't seem to get it to work.
Thanks,
Chuck
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
From | Date | Subject | |
---|---|---|---|
Next Message | Sean Shanny | 2003-12-29 20:57:46 | Re: How to use psql -c? |
Previous Message | Charles Haron | 2003-12-29 20:49:00 | How to use psql -c? |