Re: troubleshooting pointers

Поиск
Список
Период
Сортировка
От Joe Conway
Тема Re: troubleshooting pointers
Дата
Msg-id 3CDC9850.8000300@joeconway.com
обсуждение исходный текст
Ответ на troubleshooting pointers  (Joe Conway <mail@joeconway.com>)
Ответы Re: troubleshooting pointers  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Joe Conway <mail@joeconway.com> writes:
>>... I have not started RescanExprContext() yet, but will do it 
>>when I address rescans in general.
> 
>>I still have a couple of issues related to VIEWs that I need to figure 
>>out, then I'll start the rescan work.
> 
> It's not unlikely that those issues are exactly due to not having rescan
> handled properly.  What misbehavior are you seeing?

Hmm, that might just be it.

When I select from a view based on a function which returns a base type, 
I only get the first row. When I select from a view which is based on a 
function returning a composite type, it triggers an assertion. I've 
traced the latter down to a slot pointer which is reset to NULL 
somewhere. Haven't had the time to get much further. In both cases, 
selecting from the function directly works great.

Thanks,

Joe



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: troubleshooting pointers
Следующее
От: Barry Lind
Дата:
Сообщение: bug? in current cvs with bigint datatype