Re: pg temp tables - Mailing list pgsql-general

From Tom Lane
Subject Re: pg temp tables
Date
Msg-id 28340.1173167190@sss.pgh.pa.us
Whole thread Raw
In response to Re: pg temp tables  ("Anton Melser" <melser.anton@gmail.com>)
Responses Re: pg temp tables
List pgsql-general
"Anton Melser" <melser.anton@gmail.com> writes:
> Thanks for your reply. I am managing a db that has some export scripts
> that don't do a drop/create, but rather a delete from at the start of
> the proc (6 or 7 tables used for this, and only this). Now given that
> there is no vacuuming at all going on - this is clearly suboptimal but
> in the general case is this better/worse than using temporary tables?

Delete all rows, you mean?  Have you considered TRUNCATE?

            regards, tom lane

pgsql-general by date:

Previous
From: "Anton Melser"
Date:
Subject: Re: pg temp tables
Next
From: brian
Date:
Subject: Re: Wikipedia on Postgres (was Re: postgresql vs mysql)