From: Usama Dar <munir.usama@gmail.com>
To: Campbell, Lance <lance@uiuc.edu>
Cc: pgsql-performance@postgresql.org
Subject: Re: Large Objects and Toast
Date: Mon, 17 Dec 2007 01:33:58 +0500
Message-ID: <ff0e67090712161233x1a998d36w81b5b4eb62112d40@mail.gmail.com> (raw)
In-Reply-To: <B10E6810AC2A2F4EA7550D072CDE8760197E45@SAB-FENWICK.sab.uiuc.edu>
References: <B10E6810AC2A2F4EA7550D072CDE8760197E45@SAB-FENWICK.sab.uiuc.edu>
On Dec 14, 2007 10:11 PM, Campbell, Lance <lance@uiuc.edu> wrote:
> PostgreSQL: 8.2
>
>
>
> My understanding is that when one creates a large object there is no way
> to link the large object to a field in a table so that cascading delete can
> occur. Is this correct? My understanding is that you have to manually
> delete the large object.
>
Yes, but you can setup a trigger to do that for you i think.
>
>
> I also read something about the OID ID being limited in size. What is the
> size limit of this OID type? I am sure that it is bigger than the number of
> files that I would be uploaded into my db; but I just want to get an idea of
> the range.
>
Oid is an unsigned integer in postgres IIRC.
--
Usama Munir Dar http://linkedin.com/in/usamadar
Consultant Architect
Cell:+92 321 5020666
Skype: usamadar
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-performance@postgresql.org
Cc: munir.usama@gmail.com, lance@uiuc.edu
Subject: Re: Large Objects and Toast
In-Reply-To: <ff0e67090712161233x1a998d36w81b5b4eb62112d40@mail.gmail.com>
References: <B10E6810AC2A2F4EA7550D072CDE8760197E45@SAB-FENWICK.sab.uiuc.edu> <ff0e67090712161233x1a998d36w81b5b4eb62112d40@mail.gmail.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