From: Gary Hoffman <ghoffman@ucsd.edu>
To: chriskl@familyhealth.com.au
Cc: pgsql-php@postgresql.org
Subject: Re: Determing Postgres version
Date: Mon, 17 Dec 2001 08:16:07 -0800
Message-ID: <fc.00249f0e00301bb400249f0e00301349.301bbc@irpsmail.ucsd.edu> (raw)
In-Reply-To: <GNELIHDDFBOCMGBFGEFOMENFCAAA.chriskl@familyhealth.com.au>
References: <GNELIHDDFBOCMGBFGEFOMENFCAAA.chriskl@familyhealth.com.au>
Well, I thought of that.
Here's what I get:
ERROR: function version() does not exist
Any other ideas, short of actually asking the ISP help desk?
Gary
chriskl@familyhealth.com.au writes:
>Try:
>
>select version();
>
>Chirs
>
>> -----Original Message-----
>> From: pgsql-php-owner@postgresql.org
>> [mailto:pgsql-php-owner@postgresql.org]On Behalf Of Gary Hoffman
>> Sent: Monday, 17 December 2001 2:24 PM
>> To: pgsql-php@postgresql.org
>> Subject: [PHP] Determing Postgres version
>>
>>
>> For an off-campus project, my web hosting ISP has the PostgreSQL
>> postmaster running on a host separate from where my web pages are
>hosted.
>> My queries work OK, but I can't get LIMIT to work. I suspect he hasn't
>> upgraded to version 7 yet. How can I query for a version? I can't use
>> pg_config --version because it's not on my local host and anyway it
>> wouldn't find the postmaster on this host.
>>
>> Can I use a SQL query to determine the version of the postmaster?
>>
>> Thanks in advance.
>> Gary
**************************************************************************
* Gary B. Hoffman, Computing Services Manager e-mail: ghoffman@ucsd.edu *
* Graduate School of International Relations and Pacific Studies (IR/PS) *
* University of California, San Diego (UCSD) voice: (858) 534-1989 *
* 9500 Gilman Dr. MC 0519 fax: (858) 534-3939 *
* La Jolla, CA 92093-0519 USA web: http://www-irps.ucsd.edu/ *
**************************************************************************
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: ghoffman@ucsd.edu, chriskl@familyhealth.com.au
Subject: Re: Determing Postgres version
In-Reply-To: <fc.00249f0e00301bb400249f0e00301349.301bbc@irpsmail.ucsd.edu>
References: <GNELIHDDFBOCMGBFGEFOMENFCAAA.chriskl@familyhealth.com.au> <fc.00249f0e00301bb400249f0e00301349.301bbc@irpsmail.ucsd.edu>
* 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