Re: automatic restore point

From: Rui DeSousa <rui(at)crazybean(dot)net>
To: Isaac Morland <isaac(dot)morland(at)gmail(dot)com>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "Yotsunaga, Naoki" <yotsunaga(dot)naoki(at)jp(dot)fujitsu(dot)com>, Postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: automatic restore point
Date: 2018-06-26 04:04:59
Message-ID: 0FF13FF7-C81F-43D0-B262-4D422E5D857B@crazybean.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Why not use auto commit off in the session or .psqlrc file or begin and then use rollback? \set AUTOCOMMIT off

What would be nice is if a syntax error didn’t abort the transaction when auto commit is off — being a bad typist.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2018-06-26 04:29:02 Re: Problem while updating a foreign table pointing to a partitioned table on foreign server
Previous Message Amit Kapila 2018-06-26 04:02:35 Re: Few cosmetic suggestions for commit 16828d5c (Fast Alter Table Add Column...)