Re: [BUGS] BUG #14876: Segmentation fault with JSONB column used in store proc that gets used by view and later altered

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #14876: Segmentation fault with JSONB column used in store proc that gets used by view and later altered
Дата
Msg-id 31242.1509152963@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14876: Segmentation fault with JSONB column used instore proc that gets used by view and later altered  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: [BUGS] BUG #14876: Segmentation fault with JSONB column used instore proc that gets used by view and later altered  (Michael Paquier <michael.paquier@gmail.com>)
Список pgsql-bugs
Michael Paquier <michael.paquier@gmail.com> writes:
> Sorry for coming up late in the game. I can see that you have pushed a
> patch as d5b760e, but back-paddled a bit on d76886c. After some
> analysis of things around, I think that you got it right. One comment
> I have first though is that you could have used forboth as there is no
> point to go through the target list entries once there are no more
> aliases. Or target list entries marked as resjunk do not have an
> expended reference name?

Right, there's no entry in the outer RTE for resjunk columns.

(In practice, resjunk entries are at the end of the tlist so that it
wouldn't really matter, but I try to keep code from assuming that.)
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [BUGS] BUG #14876: Segmentation fault with JSONB column used instore proc that gets used by view and later altered
Следующее
От: jan.przemyslaw.wojcik@gmail.com
Дата:
Сообщение: [BUGS] BUG #14878: pg_trgm - word_similarity() inconsistent with description.