Re: [GENERAL] psql : Comment?

Поиск
Список
Период
Сортировка
От Stéphane FILLON
Тема Re: [GENERAL] psql : Comment?
Дата
Msg-id 001801bee695$2f387fa0$c40a8280@portable
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: "Hub.Org News Admin"
Дата:
Сообщение: ...
Следующее
От: "Hub.Org News Admin"
Дата:
Сообщение: ...