From: | Paul Tomblin <ptomblin(at)xcski(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Autocommit off in psql?? |
Date: | 2001-05-23 00:18:31 |
Message-ID: | 20010522201831.B11792@allhats.xcski.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Quoting Neil Conway (nconway(at)klamath(dot)dyndns(dot)org):
> Yes, just start an explicit transaction with "BEGIN" -- this disables
> autocommit (so when you want to commit your transaction, you'll need
> to do "COMMIT" by hand).
That brings to mind a couple of questions I had:
Can I just open a transaction, delete 100,000 rows in three tables, add
back 100,000 rows in three tables, and then end the transaction? Even if
it takes two hours and 5,000 lines of Perl code to do it? If so, how much
disk space am I going to need? Would double the current used amount do
it? And should I vacuum immediately afterwards?
--
Paul Tomblin <ptomblin(at)xcski(dot)com>, not speaking for anybody
The WWW is exciting because Microsoft doesn't own it, and therefore,
there's a tremendous amount of innovation happening.
-- Steve Jobs
From | Date | Subject | |
---|---|---|---|
Next Message | Tatsuo Ishii | 2001-05-23 00:59:19 | Re: Postgresql - multibyte |
Previous Message | Tim Mickol | 2001-05-22 23:21:21 | RE: Autocommit off in psql?? |