From: | Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar> |
---|---|
To: | Denis Gasparin <denis(at)edistar(dot)com> |
Cc: | PostgreSQL Mailing Lists-General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: binary data storage |
Date: | 2002-04-04 14:46:59 |
Message-ID: | 20020404144701.055A0FDD8@bugs.unl.edu.ar |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Jue 04 Abr 2002 11:32, you wrote:
> Hi Martin,
> I discourage you to use the large object data type for a file of such
> dimensions... It would be better for you to store in the db the filename
> and the path to the file itself.
> However you can find the large object you've inserted in your data
> directory (subdirectory base/oid of your database/).
I still don't get it.
If I use pg_lo* to put my binary data in the database, where will it be,
always talking about the structure of the database.
Example:
A table with 5 fields, and one is of type oid, and I want to insert data (a
new row to the table) in which I have a binary file to put in the oid field.
And how about if I have more then one oid field?
I see no specification on which field the binary object will be inserted.
--
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués | mmarques(at)unl(dot)edu(dot)ar
Programador, Administrador, DBA | Centro de Telematica
Universidad Nacional
del Litoral
-----------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Holger Marzen | 2002-04-04 14:52:55 | Re: [NOVICE] readline and psql |
Previous Message | Heiko Klein | 2002-04-04 14:32:50 | Re: [NOVICE] readline and psql |