Re: [SQL] Running a file

Поиск
Список
Период
Сортировка
От Kaare Rasmussen
Тема Re: [SQL] Running a file
Дата
Msg-id 00122515033702.30396@bering
обсуждение исходный текст
Ответ на Re: [SQL] Running a file  ("Brett W. McCoy" <bmccoy@chapelperilous.net>)
Список pgsql-admin
> Are you talking about writing external scripts and importing them into
> Postgres in a manner similar to the @ function in SQL*Plus?  In psql, you
> can use \i to import scripts to do that.

If it's to be used in shell scripts, it's just as easy to pipe:

psql dbname<create_table.sql

--
Kaare Rasmussen            --Linux, spil,--        Tlf:        3816 2582
Kaki Data                tshirts, merchandize      Fax:        3816 2501
Howitzvej 75               �ben 14.00-18.00        Email: kar@webline.dk
2000 Frederiksberg        L�rdag 11.00-17.00       Web:      www.suse.dk

В списке pgsql-admin по дате отправления:

Предыдущее
От: "Todd R. Eigenschink"
Дата:
Сообщение: Re: Is that a bug?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Toad version for PostgreSQL