pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John McKown <joarmc@swbell.net>
To: Joel Pang <joelpang@spectratech.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: disable auto-commit
Date: Thu, 26 Oct 2000 14:30:01 -0500 (CDT)
Message-ID: <Pine.LNX.4.21.0010261427110.17136-100000@linux2.johnmckown.net> (raw)
In-Reply-To: <BCEDIKHGPBCODNEAIIGLGEPCCAAA.joelpang@spectratech.com>

Well, you could start a transaction. But the record will be deleted once
you do a COMMIT. Is that what you want? If you want some way to
"delete" an entry, but then to later "undelete" it, there really isn't a
way. I have heard of other systems where things were "logically deleted",
but recoverable until a "purge" command was done. PostgreSQL does not have
this type of behaviour.

John

On Wed, 25 Oct 2000, Joel Pang wrote:

> In psql, once I delete an entry, it's gone permanently.  How do I disable
> such auto-commit behavior?
> 




view thread (7+ messages)  latest in thread

Message-ID: <Pine.LNX.4.21.0010261427110.17136-100000@linux2.johnmckown.net>
Permalink:  ../Pine.LNX.4.21.0010261427110.17136-100000@linux2.johnmckown.net/
Also on:    postgresql.org/message-id/Pine.LNX.4.21.0010261427110.17136-100000@linux2.johnmckown.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: joarmc@swbell.net, joelpang@spectratech.com
  Subject: Re: disable auto-commit
  In-Reply-To: <Pine.LNX.4.21.0010261427110.17136-100000@linux2.johnmckown.net>
  References: <BCEDIKHGPBCODNEAIIGLGEPCCAAA.joelpang@spectratech.com> <Pine.LNX.4.21.0010261427110.17136-100000@linux2.johnmckown.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