Re: [despammed] Insert psql commands inside a script

Поиск
Список
Период
Сортировка
От Geoffrey
Тема Re: [despammed] Insert psql commands inside a script
Дата
Msg-id 426A51AC.4070505@3times25.net
обсуждение исходный текст
Ответ на Re: [despammed] Insert psql commands inside a script  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql
Michael Fuhr wrote:
> 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.

My bad, I misread the post as indicating he wanted to use an external 
file.  Too early on a Saturday with a late Friday and not enough coffee 
yet...

-- 
Until later, Geoffrey


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

Предыдущее
От: Michael Fuhr
Дата:
Сообщение: Re: [despammed] Insert psql commands inside a script
Следующее
От: "Tadej Kanizar"
Дата:
Сообщение: weird SQL statement question