Skip site navigation (1) Skip section navigation (2)

Re: Single-Transaction Utility options

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Single-Transaction Utility options
Date: 2005-12-16 20:53:36
Message-ID: 1134766416.2964.69.camel@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-patches
On Fri, 2005-12-16 at 16:04 -0300, Alvaro Herrera wrote:
> Simon Riggs wrote:
> > The following patches add a -N option to psql and pgrestore.
> > 
> > This option adds a BEGIN at the start and a COMMIT at the end of all
> > commands, causing all statements to be executed as a single transaction.
> 
> Why use it around the whole file and not only around that particular
> table's operations?  

You could. That just behaves slightly differently.

Maybe we should have options for both?

> Also why force it to activate the abort-on-error
> mode?

For what reason would you want it to keep running?

Best Regards, Simon Riggs



In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2005-12-16 20:56:07
Subject: Re: Single-Transaction Utility options
Previous:From: Simon RiggsDate: 2005-12-16 20:49:51
Subject: Re: Single-Transaction Utility options

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group