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

Re: Continue transactions after errors in psql

From: Harald Fuchs <use_reply_to(at)protecting(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Continue transactions after errors in psql
Date: 2005-04-26 14:47:03
Message-ID: pu1x8xbno8.fsf@srv.protecting.net (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
In article <426E4AC1(dot)4070706(at)archonet(dot)com>,
Richard Huxton <dev(at)archonet(dot)com> writes:

>> I just don't see why non-interactive mode does need such a switch
>> because there is no way to check if there was an error. So just put
>> two queries there and hope one will work?

> DROP TABLE foo;
> CREATE TABLE foo...

Ah, my pet peeve!  "DROP TABLE IF EXISTS name" is the only thing I
really miss from MySQL.


In response to

pgsql-hackers by date

Next:From: Philip WarnerDate: 2005-04-26 14:48:05
Subject: Re: [HACKERS] Continue transactions after errors in
Previous:From: Joshua D. DrakeDate: 2005-04-26 14:44:13
Subject: Re: [HACKERS] Continue transactions after errors in psql

pgsql-patches by date

Next:From: Philip WarnerDate: 2005-04-26 14:48:05
Subject: Re: [HACKERS] Continue transactions after errors in
Previous:From: Joshua D. DrakeDate: 2005-04-26 14:44:13
Subject: Re: [HACKERS] Continue transactions after errors in psql

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