Re: psql -1 with multiple files? - Mailing list pgsql-general

From Jay Levitt
Subject Re: psql -1 with multiple files?
Date
Msg-id 4ED8154A.7030507@gmail.com
Whole thread Raw
In response to Re: psql -1 with multiple files?  (Steve Crawford <scrawford@pinpointresearch.com>)
List 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 by date:

Previous
From: Steve Crawford
Date:
Subject: Re: psql -1 with multiple files?
Next
From: Marcin Mańk
Date:
Subject: Re: Query Optimizer makes a poor choice