Drop table vs begin/end transaction - Mailing list pgsql-novice

From Francisco Reyes
Subject Drop table vs begin/end transaction
Date
Msg-id 20011117231740.S69022-100000@zoraida.natserv.net
Whole thread Raw
Responses Re: Drop table vs begin/end transaction
List pgsql-novice
I have a table which I will populate every day from scratch (data coming
from a Foxpro system) and I am wandering if I could do something like:

begin transaction
drop table <name>
\i <create table script>
copy from <ascii file>
end transaction

Can this be done? In particular will the drop table honor begin/end?

My alternative is to use delete from <table>. Besides been slower I wonder
if this would not make my "vacuum analyze" run much slower.



pgsql-novice by date:

Previous
From: Tom Lane
Date:
Subject: Re: switching from mysql
Next
From: Tom Lane
Date:
Subject: Re: Drop table vs begin/end transaction