From: Lynna Landstreet <lynna@gallery44.org>
To: Cornelia Boenigk <poppcorn@cornelia-boenigk.de>
To: pgsql-php@postgresql.org
Subject: Re: pg_query undefined?
Date: Tue, 15 Jul 2003 15:38:42 -0400
Message-ID: <BB39D082.553%lynna@gallery44.org> (raw)
In-Reply-To: <000a01c348cb$7e260e10$a86efea9@zwerg2000>
on 7/12/03 7:15 PM, Cornelia Boenigk at poppcorn@cornelia-boenigk.de wrote:
> If you run phpinfo() you can see the PHP version.
>
> pg_query() is supported since PHP 4.2.0
>
> If your PHP is older than this use pg_exec() instead.
Aha - that would be it! Thank you! I just checked phpinfo and it says it's
4.1.2.
I can do a global find and replace to turn all instances of pg_query into
pg_exec in the ez_sql script I downloaded, but now I wonder if there will be
other functions that have changed between versions as well. Guess the only
way to find out is to try.
*sigh* Yet another reason to loathe and despise the web host I'm stuck with
here. I could ask them to upgrade their PHP installation, but given that
they never answered my request to upgrade PostgreSQL a month ago (they're
still running 7.2), or my *four* requests (well, the same request sent four
times) for a working cgi-bin directory, or about 75% of any other tech
support requests I've sent them, I'm not holding out too much hope for this
one.
Can anyone recommend a *good* web host that supports PHP and PostgreSQL? One
that's affordable enough for a small non-profit art gallery?
Thanks,
Lynna
--
Resource Centre Database Coordinator
Gallery 44
www.gallery44.org
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: lynna@gallery44.org, poppcorn@cornelia-boenigk.de
Subject: Re: pg_query undefined?
In-Reply-To: <BB39D082.553%lynna@gallery44.org>
References: <000a01c348cb$7e260e10$a86efea9@zwerg2000> <BB39D082.553%lynna@gallery44.org>
* 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