Chuck,

Report bugs to <[EMAIL PROTECTED]>.
-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:[EMAIL PROTECTED] 
Sent: Monday, December 29, 2003 3:49 PM
To: [EMAIL PROTECTED]
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?

               http://archives.postgresql.org

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Reply via email to