bytea or large object - Mailing list pgsql-php

From Jean-Christophe FABRE
Subject bytea or large object
Date
Msg-id 5.0.0.25.0.20020403164135.00ad0380@ensam.inra.fr
Whole thread Raw
List pgsql-php
Hi,

I would like to store .pdf files in a database, which is accessed through a
PHP interface.
which is the best way to store binary data?
- bytea? (with the tricky handling of escape chars)
- large objects?

thanks

JC

PS: I didn't found any example of scripts using bytea in PHP, does someone
has some?


_________________________________________________________
Jean-Christophe FABRE
INRA - UMR Sol & Environnement tel: +33 (0)4 99 61 23 51
2, place Viala fax: +33 (0)4 67 63 26 14
34060 MONTPELLIER cedex 1
FRANCE


pgsql-php by date:

Previous
From: Joe Conway
Date:
Subject: Re: How to send bytea data straight to browser (as in pg_loreadall)?
Next
From: Timothy_maguire@hartehanks.com
Date:
Subject: Re: bytea or large object