Re: type casting troubles

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: type casting troubles
Дата
Msg-id 3BA97CAD.B97E2187@fourpalms.org
обсуждение исходный текст
Ответ на type casting troubles  (Thomas Lockhart <lockhart@fourpalms.org>)
Список pgsql-hackers
> > #2  0x806cb34 in TupleDescInitEntry (desc=0x82d6304, attributeNumber=1,
> >     attributeName=0x1f8 <Address 0x1f8 out of bounds>, oidtypeid=1184,
> > typmod=-1, attdim=0,
> >     attisset=0 '\000') at tupdesc.c:365
> This appears to indicate that you have a Resdom node with an invalid
> resname field.  Seems like that wouldn't be a datatype-specific issue
> at all.  Have you changed the handling of cast() nodes?

Nothing changed afaik, though I *have* accumulated a few changes over
the last couple of months which I have not committed back to cvs. I'll
look at it, but can't think of why I'd be messing with TypeCast nodes at
all.

I'd have expected that all of the nodes would have references to
timestamp and timestamptz by the time I'm that far into the executor,
and they seem to be data types in good standing for other purposes at
least.
                    - Thomas


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Returning NULL from functions
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FOREIGN KEY taking write locks on parent.