Re: disable auto-commit

From: John McKown <joarmc(at)swbell(dot)net>
To: Joel Pang <joelpang(at)spectratech(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: disable auto-commit
Date: 2000-10-26 19:30:01
Message-ID: Pine.LNX.4.21.0010261427110.17136-100000@linux2.johnmckown.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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?
>

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Anatoly K. Lasareff 2000-10-27 06:07:35 Re: Create Procedure syntax
Previous Message Ian Lance Taylor 2000-10-26 18:19:03 Building in a different directory