Re: [despammed] Insert psql commands inside a script

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: [despammed] Insert psql commands inside a script
Дата
Msg-id 20050423133042.GA21979@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: [despammed] Insert psql commands inside a script  (Geoffrey <esoteric@3times25.net>)
Ответы Re: [despammed] Insert psql commands inside a script  (Geoffrey <esoteric@3times25.net>)
Список pgsql-sql
On Sat, Apr 23, 2005 at 08:15:48AM -0400, Geoffrey wrote:
> 
> Or you can do the following:
> 
> psql database < sqlcode
> 
> where sqlcode contains your sql.

That command redirects the standard input from the file named
sqlcode; the requirement says NOT to use an external file.

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


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

Предыдущее
От: Geoffrey
Дата:
Сообщение: Re: [despammed] Insert psql commands inside a script
Следующее
От: Geoffrey
Дата:
Сообщение: Re: [despammed] Insert psql commands inside a script