dbTalk Databases Forums  

altre table and large object deletion

comp.databases.postgresql.general comp.databases.postgresql.general


Discuss altre table and large object deletion in the comp.databases.postgresql.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jeremiah Jahn
 
Posts: n/a

Default altre table and large object deletion - 11-19-2004 , 12:58 PM






will an alter table that removes an oid type also remove all of the
associated large objects. I've been using blobs but have converted to
byte arrays, now I need to get rid of all of the blobs. Will this be
enough? followed by a vaccum of course.


--
Jeremiah Jahn <jeremiah (AT) cs (DOT) earlham.edu>


---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #2  
Old   
Tom Lane
 
Posts: n/a

Default Re: altre table and large object deletion - 11-19-2004 , 02:06 PM






Jeremiah Jahn <jeremiah (AT) cs (DOT) earlham.edu> writes:
Quote:
will an alter table that removes an oid type also remove all of the
associated large objects.
No, but see contrib/vacuumlo.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.