From: Volkan YAZICI <volkan.yazici@gmail.com>
To: Vadivel Subramaniam <vadivel.subramaniam@flextronicssoftware.com>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: large object support in PostGres 7.4
Date: Tue, 7 Jun 2005 09:41:22 +0300
Message-ID: <7104a737050606234156b4eced@mail.gmail.com> (raw)
In-Reply-To: <OF703A94D2.9C92140B-ON65257019.00220470-65257019.0022D0C7@flextronicssoftware.com>
References: <OF703A94D2.9C92140B-ON65257019.00220470-65257019.0022D0C7@flextronicssoftware.com>
Hi,
On 6/7/05, Vadivel Subramaniam
<vadivel.subramaniam@flextronicssoftware.com> wrote:
> My doubt is, do these API's operate on character data? i.e., My table
> schema is like this
>
> table (name varchar, script varchar). I have to store a large data(in
> character form) in the script column (upto 3 MB).
>
> As of my understanding the above mentioned API's work on the OID field.
> i.e,. table(name varchar, script oid). Is that correct?
Yep. Large Objects are stored (and distributed between rows) in a
specific table: `pg_largeobject'. You can use these lo records by
referencing to their OIDs. Furthermore, you cannot (also shouldn't)
reach data on pg_largeobject with another function/routine out of
supplied lo_... functions by libpq.
> Please clarify this if anyone has already used this large object APIs and
> specify if this has any limitation on the size?
Yes, there's a limitation about 'em. (2GB) For more information please see:
http://www.postgresql.org/docs/7.4/interactive/largeobjects.html
Regards.
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: volkan.yazici@gmail.com, vadivel.subramaniam@flextronicssoftware.com
Subject: Re: large object support in PostGres 7.4
In-Reply-To: <7104a737050606234156b4eced@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