Re: proposal: multiple psql option -c - Mailing list pgsql-hackers

From Robert Haas
Subject Re: proposal: multiple psql option -c
Date
Msg-id CA+TgmoaWJCkZrFsW8HDbyEZSJXhCRSR_tT9M7CPcXETXomp8dQ@mail.gmail.com
Whole thread Raw
In response to Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Fri, Jul 17, 2015 at 12:36 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> Or just properly understand the ; ?
>>
>> -c "select * from foo; update bar set baz = 'bing'; vacuum bar;"
>
> there is a risk of compatibility issues - all statements runs under one
> transaction implicitly

So what?

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Proposing COPY .. WITH PERMISSIVE
Next
From: Adam Brightwell
Date:
Subject: Re: security labels on databases are bad for dump & restore