Re: BUG #6020: Wrong data type returned after CAST in FROM

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6020: Wrong data type returned after CAST in FROM
Дата
Msg-id 3339.1305138461@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #6020: Wrong data type returned after CAST in FROM  ("Skylar Hawk" <skylar.j.hawk@gmail.com>)
Ответы Re: BUG #6020: Wrong data type returned after CAST in FROM
Список pgsql-bugs
Skylar Hawk <skylar.j.hawk@gmail.com> writes:
> My apologies too. Now that I look at it I wasn't accurately describing
> how I was doing things after all. In the script I do pass on the data
> I get back from that query into another function, but after looking
> again, it looks like I have the script pull the data from this query
> and then push it into another query instead of having the database do
> it. Sorry for the excess frustration it probably caused.

Well, the main point here seems to be that you've got a function
returning record, not just a scalar value which is what your initial
example suggested.  I've been able to duplicate the error and confirm
that the behavior changed in 9.0, but have not yet tracked down why.
More news as it develops ...

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: BUG #6020: Wrong data type returned after CAST in FROM
Следующее
От: Marc Cousin
Дата:
Сообщение: collation problem on 9.1-beta1