From: | heatherm(at)famoice(dot)com |
---|---|
To: | pgsql-sql(at)postgresql(dot)org |
Subject: | deleting large objects from jdbc |
Date: | 2001-08-08 05:32:52 |
Message-ID: | H000007e0003c614.0997248771.server1.workware@MHS |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-sql |
Hi,
I've been browsing the newsgroup archives and came across the following:
> > > > > Can you see a scenario where a programmer would forget to
delete the
> > > > > data from pg_largeobject and the database becoming very large
filled
> > > > > with orphaned large objects?
Does this mean that to delete my large object I need to delete the row
in my table, and also the row or rows in pg_largeobject. Currently I am
only deleting the row in my table. I have just been looking at the
pg_largeobject table, it seems to have more rows than I would expect in
it. Is the solution to pass these two commands to jdbc?
delete from my_table where lob_oid = 1234
delete from pg_largeobject where loid = 1234
Thanks in advance
Heather.
From | Date | Subject | |
---|---|---|---|
Next Message | Grigoriy G. Vovk | 2001-08-08 06:40:21 | Re: Distributed databases |
Previous Message | Robert.Farrugia | 2001-08-08 05:17:02 | Distributed databases |
From | Date | Subject | |
---|---|---|---|
Next Message | Gary Stainburn | 2001-08-08 08:43:28 | Re: Are circular REFERENCES possible ? |
Previous Message | Joe Conway | 2001-08-08 02:23:33 | Re: Name Alike Challenge |