Re: [BUGS] BUG #6379: SQL Function Causes Back-end Crash

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] BUG #6379: SQL Function Causes Back-end Crash
Дата
Msg-id 22487.1325712097@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #6379: SQL Function Causes Back-end Crash  (Paul Ramsey <pramsey@cleverelephant.ca>)
Ответы Re: [BUGS] BUG #6379: SQL Function Causes Back-end Crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Paul Ramsey <pramsey@cleverelephant.ca> writes:
> Further notes, from Andrew (RhodiumToad) on IRC about the cause of this crasher:
> [12:31pm] RhodiumToad: there's no trivial fix

IMO the main bug here is that functions.c isn't expecting qd->dest to be
overwritten,  so we could work around it by keeping a separate private
copy of the dest pointer.  However, it would also be fair to ask whether
there's not a cleaner solution.  Perhaps the intoRel stuff should be
saving/restoring the original destreceiver instead of just blindly
overwriting it.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Regarding Checkpoint Redo Record
Следующее
От: Robert Haas
Дата:
Сообщение: Re: 16-bit page checksums for 9.2