Thread: Comments

Comments

From
Dale Walker
Date:
Just wondering is there a way to put comments into a psql command file
tat gets run from the unix prompt..

ie. psql -f cmd.sql

cmd.sql
--------------------
select foo from bar;
--------------------

I was hoping for something like:
-------------------------------
# Simply query
select foo from bar;
-------------------------------


I've been using \echo , but there must be a way I've missed...


--
Dale Walker                                              dale@icr.com.au
Independent Computer Retailers (ICR)               http://www.icr.com.au
ICRnet                               http://www.icr.net.au