Re: [GENERAL] psql : Comment? - Mailing list pgsql-general

From Stéphane FILLON
Subject Re: [GENERAL] psql : Comment?
Date
Msg-id 001801bee695$2f387fa0$c40a8280@portable
Whole thread Raw
List 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@laxmi.ev.net>
À : PostgreSQL General <pgsql-general@postgreSQL.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@laxmi.ev.net        |  -- Joe Walsh for the 21st Century
>
>
>


pgsql-general by date:

Previous
From: "Hub.Org News Admin"
Date:
Subject: ...
Next
From: "Hub.Org News Admin"
Date:
Subject: ...