Re: Debugging PostgreSql queries

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Debugging PostgreSql queries
Дата
Msg-id 201.1290094581@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Debugging PostgreSql queries  (Vaduvoiu Tiberiu <vaduvoiutibi@yahoo.com>)
Список pgsql-novice
Vaduvoiu Tiberiu <vaduvoiutibi@yahoo.com> writes:
> Long story short, I have a huge query in the application that throws the errror:
> "CASE types bigint and character varying cannot be matched ". I ran
> this query in pgAdmin, in phpPgAdmin, I only get the error but have no
> clue where the error actually is thrown.

This error should include a cursor position if you're working with
server version 8.4 or later.  I infer that you're not.  It'd be worth
trying to install the application on a newer Postgres server.  We
frequently improve the error detection capabilities from one release
to the next, so what was a hard problem might get easier.

            regards, tom lane

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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: MySql week() method equivalent
Следующее
От: bakkiya
Дата:
Сообщение: Re: Could not open relation with OID (table partitioning issue?)