Comments - Mailing list pgsql-general

From Dale Walker
Subject Comments
Date
Msg-id 39D7B08A.9AE8C73A@icr.com.au
Whole thread Raw
List pgsql-general
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

pgsql-general by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: Checking number of entries
Next
From: Bruce Momjian
Date:
Subject: Re: btree index and max()