Comments

Started by Dale Walkerover 25 years ago1 messagesgeneral
Jump to latest
#1Dale Walker
dale@icr.com.au

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