| From: | Dale Walker <dale(at)icr(dot)com(dot)au> |
|---|---|
| To: | PostgreSQL General List <pgsql-general(at)postgresql(dot)org> |
| Subject: | Comments |
| Date: | 2000-10-01 21:45:46 |
| Message-ID: | 39D7B08A.9AE8C73A@icr.com.au |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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(at)icr(dot)com(dot)au
Independent Computer Retailers (ICR) http://www.icr.com.au
ICRnet http://www.icr.net.au
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2000-10-02 04:32:12 | Re: btree index and max() |
| Previous Message | Stephan Szabo | 2000-10-01 18:09:23 | Re: Checking number of entries |