psql -U password -d database -c "select tablename from pg_stats ;"
--sean
Charles Haron wrote:
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 3: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly