Re: Continue transactions after errors in psql

Harald Fuchs <use_reply_to@protecting.net>

From: Harald Fuchs <use_reply_to@protecting.net>
To: pgsql-hackers@postgresql.org
Date: 2005-04-26T14:47:03Z
Lists: pgsql-hackers
In article <426E4AC1.4070706@archonet.com>,
Richard Huxton <dev@archonet.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.