[wplug] Postgres script comment

Andreas Rindler arindler at cmu.edu
Thu Nov 13 14:56:19 EST 2003


hey,
i am populating a lot of data in postgres using sql scripts  and the \i
command. how can i include a comment in the sql file that will print to
the psql screen during runtime?? 

eg:

In the sql file:

create table test(col1 number, col2 number);
--comment: creating table test

Which should show up in the psql prompt as:

CREATE TABLE
comment: creating table test

any ideas??
thanks,
andi






More information about the wplug mailing list