Re: Fixing bug #8228 ("set-valued function called in context that cannot accept a set")

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: Fixing bug #8228 ("set-valued function called in context that cannot accept a set")
Дата
Msg-id 1389063173175-5785629.post@n5.nabble.com
обсуждение исходный текст
Ответ на Fixing bug #8228 ("set-valued function called in context that cannot accept a set")  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Fixing bug #8228 ("set-valued function called in context that cannot accept a set")  (David Johnston <polobo@yahoo.com>)
Список pgsql-hackers
Tom Lane-2 wrote
> I kinda forgot about this bug when I went off on vacation:
> http://www.postgresql.org/message-id/

> E1UnCv4-0007oF-Bo@.postgresql

Just to clarify:

This patch will cause both executions of the example query to fail with the
"set-valued function..." error.

Also, the reason the "::varchar" one did not fail was because not cast
function was ever called but the "::varchar(30)" forced a function call and
thus prompted the error when the second record and resultant regexp_matches
expression was encountered.

Thanks!

David J.



--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Fixing-bug-8228-set-valued-function-called-in-context-that-cannot-accept-a-set-tp5785622p5785629.html
Sent from the PostgreSQL - hackers mailing list archive at Nabble.com.



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

Предыдущее
От: "Etsuro Fujita"
Дата:
Сообщение: Re: Show lossy heap block info in EXPLAIN ANALYZE for bitmap heap scan
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [bug fix] multibyte messages are displayed incorrectly on the client