Re: [GENERAL] psql : Comment?

From: Stéphane FILLON <fillons(at)offratel(dot)nc>
To: "Bruce Tong" <zztong(at)laxmi(dot)ev(dot)net>, "PostgreSQL General" <pgsql-general(at)postgresql(dot)org>
Subject: Re: [GENERAL] psql : Comment?
Date: 1999-08-14 20:39:50
Message-ID: 001801bee695$2f387fa0$c40a8280@portable
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Try to use --

-- Patient Records are really cool.

CREATE TABLE patient
(
id integer unqiue not null, -- A nifty column, eh?
);

-----Message d'origine-----
De : Bruce Tong <zztong(at)laxmi(dot)ev(dot)net>
À : PostgreSQL General <pgsql-general(at)postgreSQL(dot)org>
Date : samedi 14 août 1999 04:55
Objet : [GENERAL] psql : Comment?

>I tend to put SQL into text files and then let a makefile run them through
>psql. I'd like to be able to put comments into these SQL files. Is there a
>character psql accepts as a comment?
>
>Example (create.sql) ...
>
>
># Patient Records are really cool.
>
>CREATE TABLE patient
>(
> id integer unqiue not null, # A nifty column, eh?
>);
>
>
>Example (makefile) ...
>
>create :
> psql -f create.sql
>
>--
>
>Bruce Tong | Got me an office; I'm there late at night.
>Systems Programmer | Just send me e-mail, maybe I'll write.
>Electronic Vision / FITNE |
>zztong(at)laxmi(dot)ev(dot)net | -- Joe Walsh for the 21st Century
>
>
>

Browse pgsql-general by date

  From Date Subject
Next Message Hub.Org News Admin 1999-08-14 23:17:09
Previous Message Michael R. Anderson 1999-08-14 13:35:39 RE: [GENERAL] Environmental Variables