From: Roland Walter <rwa@mosaic-ag.com>
To: 時期 精霊 <kuon@goyman.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Streaming blob to db
Date: Tue, 05 Jul 2005 15:54:35 +0200
Message-ID: <42CA911B.4090802@mosaic-ag.com> (raw)
In-Reply-To: <15EE35F3-F225-443B-831D-D1115E37E6DA@goyman.com>
References: <15D1FD8F-91C2-4565-B804-E43DDEEC93AB@goyman.com>
<Pine.BSO.4.56.0507040431160.14393@leary.csoft.net>
<15EE35F3-F225-443B-831D-D1115E37E6DA@goyman.com>
時期 精霊 schrieb:
> How can I trigger the deletion of the large object when the row
> containing the oid is deleted?
>
> I mean I know that:
> DELETE FROM pg_largeobject WHERE loid = nnn
>
> But is there in jdbc, an automatic way to handle that?
>
There is a vacuumlo program in the contrib directory of the
database source. If the contributed programs are installed you
should have it. The readme for it is usually installed in
the directory doc/contrib in the directory of the database installation.
--
Roland Walter phone: +49 (0) 22 25 / 88 2-41 1
MOSAIC SOFTWARE AG fax: +49 (0) 22 25 / 88 2-20 1
Am Pannacker 3 mailto: rwa (at) mosaic-ag (dot) com
D-53340 Meckenheim http://www.mosaic-ag.com
------- L E G A L D I S C L A I M E R ---------
Die Informationen in dieser Nachricht sind vertraulich
und ausschliesslich fuer den Adressaten bestimmt.
Kenntnisnahme durch Dritte ist unzulaessig. Die
Erstellung von Kopien oder das Weiterleiten an weitere,
nicht originaere und benannte Adressaten ist nicht
vorgesehen und kann ungesetzlich sein. Die Meinungen
in dieser Nachricht stellen lediglich die Meinungen
des Senders dar. Falls Sie vermuten, dass diese
Nachricht veraendert wurde, setzen Sie sich mit dem
Absender in Verbindung. Der Absender uebernimmt ohne
weitere Ueberpruefung keine Verantwortung fuer die
Richtigkeit und Vollstaendigkeit des Inhalts. Unbefugte
Empfaenger werden gebeten, die Vertraulichkeit der
Nachricht zu wahren und den Absender sofort ueber
einen Uebertragungsfehler zu informieren.
------------------------------------------------------
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: rwa@mosaic-ag.com, kuon@goyman.com, books@ejurka.com
Subject: Re: Streaming blob to db
In-Reply-To: <42CA911B.4090802@mosaic-ag.com>
References: <15D1FD8F-91C2-4565-B804-E43DDEEC93AB@goyman.com> <Pine.BSO.4.56.0507040431160.14393@leary.csoft.net> <15EE35F3-F225-443B-831D-D1115E37E6DA@goyman.com> <42CA911B.4090802@mosaic-ag.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox