Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 497A89FB612 for ; Wed, 7 Mar 2007 07:25:12 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-new, port 10024) with ESMTP id 91160-07 for ; Wed, 7 Mar 2007 07:25:04 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.4 Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.242]) by postgresql.org (Postfix) with ESMTP id 33CCA9FB592 for ; Wed, 7 Mar 2007 07:25:08 -0400 (AST) Received: by an-out-0708.google.com with SMTP id c24so100231ana for ; Wed, 07 Mar 2007 03:25:06 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VmcFV+dfrBu0TPvdCuZr6jj7gYrtHozKJndErzb/qfo8LMTcLT2uk2Y0IASQ/xA7j18DQ1LcnPZpOoMCIGItvxPg2XE0U/yjuT2iGYWwHfyxFQPuGT5gqKdY0F8wl1lVfkgMQ1X8t9pYXqhAaZJMvxR6HVWGvPgO+JeqxgkuMig= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=P69YwKskhwc0nwYDBrYjbTs60hMSPuSDCHV88PIibKLEd76gC/NxBiG/M+o6Udpd4ZsD+LxeZhLjNMc0JwCHOV3y3BJtlLqzARih9UdMlBtlmjlE3d0QCCinJhE7S917wISlE4boCaqEOTkI22CuXLec0nr7C7axPxc2KqKdC2E= Received: by 10.100.152.9 with SMTP id z9mr4245614and.1173266706832; Wed, 07 Mar 2007 03:25:06 -0800 (PST) Received: by 10.100.165.1 with HTTP; Wed, 7 Mar 2007 03:25:06 -0800 (PST) Message-ID: Date: Wed, 7 Mar 2007 12:25:06 +0100 From: mikie To: pgsql-php@postgresql.org Subject: Re: Undefined function pg_escape_bytea() despite good PG version In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070307090739.C502237B56A@mx3.hub.org> <397592.36072.qm@web52901.mail.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/30 X-Sequence-Number: 3742 > 2007/3/7, Thomas Woerly : > > --with-pgsql=/usr/locla/pgsql/bin/pg_config > > Looks fine to me... Edit: if this path is really "locla" and not "local", then it means that postgres functions are not compiled in PHP (because of your typo mistake). That is why one of the functions like php_escape_bytea() is not available in your PHP compilation, probably all PG functions are not available at all. Regards, M.