From: | Richard Huxton <dev(at)archonet(dot)com> |
---|---|
To: | Premsun Choltanwanich <Premsun(at)nsasia(dot)co(dot)th> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: How to delete Large Object from Database? |
Date: | 2005-10-07 07:30:05 |
Message-ID: | 434623FD.7000408@archonet.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Premsun Choltanwanich wrote:
>
> Dear All,
>
> I use '$libdir/lo' for manage my PostgreSQL Large Object. It work fine
> for me to get and put Large Object from and to database. However I
> found something that may not correct when I try to backup my data. It
> seem that I cannot delete Large Object from database. It seem the thing
> I can do is only delete the reference oid from table but Object still in
> database.
> So,How to delete Large Object from Database? or Is my understanding wrong?
Deleting the OID does not remove the object itself - see details of
lo_unlink() in Chapter 28 of the manuals.
I seem to recall some other utilities in the contrib/ directory of the
source distribution too.
--
Richard Huxton
Archonet Ltd
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Huxton | 2005-10-07 07:31:40 | Re: RULES on SELECT with JDBC/perlDBI from other RDBMS products? |
Previous Message | Premsun Choltanwanich | 2005-10-07 04:27:40 | How to delete Large Object from Database? |