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

Re: Single-Transaction Utility options

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Single-Transaction Utility options
Date: 2005-12-16 19:04:58
Message-ID: 20051216190458.GB26971@surnet.cl (view raw or flat)
Thread:
Lists: pgsql-patches
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?  Also why force it to activate the abort-on-error
mode?

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

pgsql-patches by date

Next:From: Jaime CasanovaDate: 2005-12-16 19:29:05
Subject: Re: Single-Transaction Utility options
Previous:From: Tom LaneDate: 2005-12-16 18:59:03
Subject: Re: Single-Transaction Utility options

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