Re: psql 8.0.0 rc5 parser error on \dt?

Поиск
Список
Период
Сортировка
От Dave Bodenstab
Тема Re: psql 8.0.0 rc5 parser error on \dt?
Дата
Msg-id 200501180943.j0I9hKh6030671@base686.home.org
обсуждение исходный текст
Ответ на Re: psql 8.0.0 rc5 parser error on \dt?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
>
> Dave Bodenstab <dave@bodenstab.org> writes:
> > I built 8.0.0rc5 on FreeBSD 4.8.  It built with no errors.  I then
> > tried psql using another host running postgresql 7.1.3 and I get the
> > goofy error message shown below.
>
> psql's backslash commands are only guaranteed to work with a server of
> the same version.  Trying 8.0 against a prehistoric server like that
> is going to result in all kinds of oddness.  (Look at the actual
> queries with -E to see why.)
>

That was it, thank you.  I've now got 8.0.0rc5 installed and running.
The \dt command of psql works fine.


I wonder if it might be possible to issue an error message that
reflects the incompatible version situation that I encountered.
The message I got led me to believe that there was some sort of
parse error in the input I was typing.  Had the error message told
me that the DB versions did not match and that unpredictable results
could occur, I might have figured out the problem myself -- or at
least tried it against 8.0.0rc5 once I got it running.

Anyway, thanks again for your response.

Dave Bodenstab

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

Предыдущее
От: Holger Klawitter
Дата:
Сообщение: Re: BUG #1388: documentation/announcement suggestion
Следующее
От: "Kalitech"
Дата:
Сообщение: Problem with driver ODBC / VB