pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Klimov Andrew <klimov@fotobank.com>
To: pgsql-sql@postgresql.org
Subject: bytea ,etc.
Date: Thu, 22 Aug 2002 17:43:37 +0400
Message-ID: <000801c249e1$ecc025c0$3a00a8c0@jippy> (raw)

Hi , All!

Could someone clarify me  :

When I want to store BLOB's internally in database (for example jpeg )
should I use bytea or OID? Is OID something like BFILE in Oracle 8i?
If both are appropriate why I can't use
update image set picture=lo_import('Myfile') where image_code='blablabla' 
with bytea column type but only with OID column type?

And one more thing:
Where is function byteain documented?

TIA,
Andrew.

view thread (3+ messages)  latest in thread

Message-ID: <000801c249e1$ecc025c0$3a00a8c0@jippy>
Permalink:  ../000801c249e1$ecc025c0$3a00a8c0@jippy/
Also on:    postgresql.org/message-id/000801c249e1$ecc025c0$3a00a8c0@jippy

 · 

reply

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: klimov@fotobank.com
  Subject: Re: bytea ,etc.
  In-Reply-To: <000801c249e1$ecc025c0$3a00a8c0@jippy>

* 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