pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alfred Perlstein <bright@wintelcom.net>
To: Joel Pang <joelpang@spectratech.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: disable auto-commit
Date: Thu, 26 Oct 2000 09:53:13 -0700
Message-ID: <20001026095313.J28123@fw.wintelcom.net> (raw)
In-Reply-To: <BCEDIKHGPBCODNEAIIGLGEPCCAAA.joelpang@spectratech.com>
References: <BCEDIKHGPBCODNEAIIGLGEPCCAAA.joelpang@spectratech.com>

* Joel Pang <joelpang@spectratech.com> [001026 04:27] wrote:
> In psql, once I delete an entry, it's gone permanently.  How do I disable
> such auto-commit behavior?


by beginning a transaction, just type:

"BEGIN;"

then with 'COMMIT;' (to commit) or 'ROLLBACK' (to rollback).


-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]
"I have the heart of a child; I keep it in a jar on my desk."



view thread (7+ messages)  latest in thread

Message-ID: <20001026095313.J28123@fw.wintelcom.net>
Permalink:  ../20001026095313.J28123@fw.wintelcom.net/
Also on:    postgresql.org/message-id/20001026095313.J28123@fw.wintelcom.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: bright@wintelcom.net, joelpang@spectratech.com
  Subject: Re: disable auto-commit
  In-Reply-To: <20001026095313.J28123@fw.wintelcom.net>
  References: <BCEDIKHGPBCODNEAIIGLGEPCCAAA.joelpang@spectratech.com> <20001026095313.J28123@fw.wintelcom.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox