Re: psql -1 with multiple files?

Поиск
Список
Период
Сортировка
От Jay Levitt
Тема Re: psql -1 with multiple files?
Дата
Msg-id 4ED8154A.7030507@gmail.com
обсуждение исходный текст
Ответ на Re: psql -1 with multiple files?  (Steve Crawford <scrawford@pinpointresearch.com>)
Список pgsql-general
Steve Crawford wrote:
> On 12/01/2011 02:01 PM, Jay Levitt wrote:
>> Is there a way to load multiple .sql files in a single transaction?
> Alternately, since -1 basically wraps your input in a BEGIN...your
> statements...COMMIT you could do that yourself with a begin.sql and commit.sql:
>
> cat begin.sql file1.sql file2.sql ... commit.sql | psql ...

Man, can I not see the forest for the trees sometimes. Thanks.

Jay

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

Предыдущее
От: Steve Crawford
Дата:
Сообщение: Re: psql -1 with multiple files?
Следующее
От: Marcin Mańk
Дата:
Сообщение: Re: Query Optimizer makes a poor choice