Received: from bugs.unl.edu.ar (bugs.unl.edu.ar [168.96.132.208]) by postgresql.org (Postfix) with ESMTP id 17FC5475896 for ; Thu, 4 Apr 2002 06:08:49 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by bugs.unl.edu.ar (Postfix) with ESMTP id AAFFEFDD7 for ; Thu, 4 Apr 2002 08:09:35 -0300 (GMT) Received: from there (bugs [168.96.132.208]) by bugs.unl.edu.ar (Postfix) with SMTP id 41972FA1D for ; Thu, 4 Apr 2002 08:08:42 -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: Re: [SQL] bytea or large object Date: Thu, 4 Apr 2002 08:08:40 -0300 X-Mailer: KMail [version 1.3.2] References: <5.0.0.25.0.20020403164135.00ad0380@ensam.inra.fr> <3CAB29FD.90606@joeconway.com> <20020404090001.A28086@superfly.archi-me-des.de> In-Reply-To: <20020404090001.A28086@superfly.archi-me-des.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020404110842.41972FA1D@bugs.unl.edu.ar> X-Virus-Scanned: by AMaViS snapshot-20011031 X-Archive-Number: 200204/9 X-Sequence-Number: 1033 On Jue 04 Abr 2002 04:00, you wrote: > > > > There is also a function built in to PHP 4.1.2, available if you're > > using PostgreSQL 7.2, called pg_escape_bytea. > > AFAIK you need PHP >= 4.2 to use pg_escape_bytea which is currently > available as rc1, i.e. not released. I tried pg_escape_bytea with rc1 > and it segfaults (the process crashes). The function above works fine > though. PHP-4.2.0RC2 is out. :-) -- 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 -----------------------------------------------------------------