Received: from mail1.hub.org (webmail.hub.org [216.126.85.1]) by postgresql.org (8.11.3/8.11.4) with ESMTP id f8PEU5h18966 for ; Tue, 25 Sep 2001 10:30:05 -0400 (EDT) (envelope-from martin@bugs.unl.edu.ar) Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by mail1.hub.org (8.11.3/8.11.4) with ESMTP id f8PETqS18526 for ; Tue, 25 Sep 2001 10:29:53 -0400 (EDT) (envelope-from martin@bugs.unl.edu.ar) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id EAFCE2AB41 for ; Tue, 25 Sep 2001 11:28:27 -0300 (GMT) Received: by bugs.unl.edu.ar (Postfix, from userid 1004) id 8A1072AB46; Tue, 25 Sep 2001 11:28:20 -0300 (GMT) Content-Type: text/plain; charset="iso-8859-1" From: =?iso-8859-1?q?Mart=EDn=20Marqu=E9s?= To: pgsql-php@postgresql.org Subject: byte and PHP Date: Tue, 25 Sep 2001 11:28:16 -0300 X-Mailer: KMail [version 1.3] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010925142820.8A1072AB46@bugs.unl.edu.ar> X-Virus-Scanned: by AMaViS snapshot-20010714 X-Archive-Number: 200109/12 X-Sequence-Number: 533 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 -----------------------------------------------------------------