From: | Shane Ambler <pgsql(at)Sheeky(dot)Biz> |
---|---|
To: | pgsql-general(at)postgresql(dot)org, Karsten(dot)Hilbert(at)gmx(dot)net |
Subject: | Re: dollar-quoting trouble |
Date: | 2007-04-20 08:38:36 |
Message-ID: | 46287C0C.9060203@Sheeky.Biz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Karsten Hilbert wrote:
>> Does "psql --version" match "select version()"? There's a message in
>> the archive pgsql-bugs where this happened.
> That was indeed part of the trouble:
>
> Both 7.4.16 and 8.1.8 being installed on Debian I couldn't
> get the default psql be 8.1 despite using
> update-alternatives. So there was psql 7.4 being used
> against the 8.1 server which is bound to lead to trouble.
>
> That being solved by deinstalling 7.4 (which I was
> transitioning off anyways) psql created the function just
> fine.
If you do want 2 versions installed (both in different prefix dirs) at
the same time then you probably want to make sure that your shell $PATH
setting includes the path to the newer version of psql and then specify
the full path to the older version of psql when you want to use the
older version. Or just use the full path every time you run psql.
--
Shane Ambler
pgSQL(at)Sheeky(dot)Biz
Get Sheeky @ http://Sheeky.Biz
From | Date | Subject | |
---|---|---|---|
Next Message | Tilmann Singer | 2007-04-20 09:06:26 | tsearch2 dictionary that indexes substrings? |
Previous Message | Karsten Hilbert | 2007-04-20 08:10:47 | Re: dollar-quoting trouble |