Received: from fw.wintelcom.net (bright@ns1.wintelcom.net [209.1.153.20]) by hub.org (8.10.1/8.11.0) with ESMTP id e9QGrGU58308 for ; Thu, 26 Oct 2000 12:53:16 -0400 (EDT) (envelope-from bright@fw.wintelcom.net) Received: (from bright@localhost) by fw.wintelcom.net (8.10.0/8.10.0) id e9QGrDV25684; Thu, 26 Oct 2000 09:53:13 -0700 (PDT) Date: Thu, 26 Oct 2000 09:53:13 -0700 From: Alfred Perlstein To: Joel Pang Cc: pgsql-admin@postgresql.org Subject: Re: disable auto-commit Message-ID: <20001026095313.J28123@fw.wintelcom.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i In-Reply-To: ; from joelpang@spectratech.com on Wed, Oct 25, 2000 at 06:38:06PM +0800 X-Archive-Number: 200010/122 X-Sequence-Number: 916 * Joel Pang [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."