Re: dollar-quoting trouble

Поиск
Список
Период
Сортировка
От Shane Ambler
Тема Re: dollar-quoting trouble
Дата
Msg-id 46287C0C.9060203@Sheeky.Biz
обсуждение исходный текст
Ответ на Re: dollar-quoting trouble  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Ответы Re: dollar-quoting trouble
Список 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@Sheeky.Biz

Get Sheeky @ http://Sheeky.Biz

В списке pgsql-general по дате отправления:

Предыдущее
От: Karsten Hilbert
Дата:
Сообщение: Re: dollar-quoting trouble
Следующее
От: Tilmann Singer
Дата:
Сообщение: tsearch2 dictionary that indexes substrings?