pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martín Marqués <martin@bugs.unl.edu.ar>
To: pgsql-php@postgresql.org
Subject: byte and PHP
Date: Tue, 25 Sep 2001 11:28:16 -0300
Message-ID: <20010925142820.8A1072AB46@bugs.unl.edu.ar> (raw)

I´m about to do some web aplications that will save data in a postgreSQL 
database, but I have one problem: I don´t understand the way postgreSQL saves 
byte files.

I heard about bytea and Large Objects. Are they the same?

And how do I insert, say, pdf files in my database?

I looked for examples, but didn´t find much (in PHP, obviously).

Saludos... :-)

-- 
Porqué usar una base de datos relacional cualquiera,
si podés usar PostgreSQL?
-----------------------------------------------------------------
Martín Marqués                  |        mmarques@unl.edu.ar
Programador, Administrador, DBA |       Centro de Telematica
                       Universidad Nacional
                            del Litoral
-----------------------------------------------------------------



view thread (2+ messages)  latest in thread

Message-ID: <20010925142820.8A1072AB46@bugs.unl.edu.ar>
Permalink:  ../20010925142820.8A1072AB46@bugs.unl.edu.ar/
Also on:    postgresql.org/message-id/20010925142820.8A1072AB46@bugs.unl.edu.ar

 · 

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 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-php@postgresql.org
  Cc: martin@bugs.unl.edu.ar
  Subject: Re: byte and PHP
  In-Reply-To: <20010925142820.8A1072AB46@bugs.unl.edu.ar>
  References: <20010925142820.8A1072AB46@bugs.unl.edu.ar>

* 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