Re: pltcl broken on tcl8.5 ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pltcl broken on tcl8.5 ?
Дата
Msg-id 7596.1213649092@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pltcl broken on tcl8.5 ?  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pltcl broken on tcl8.5 ?  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Buildfarm bobcat is broken running the pltcl regression tests - see 
> http://www.pgbuildfarm.org/cgi-bin/show_log.pl?nm=bobcat&dt=2008-06-15%2022:43:01

> and I have reproduced this on Fedora 9 myself. This distro has Tcl 8.5.1.

Hoo, nasty.  Tcl_GetVar() is resetting interp->result.  Not sure why
we didn't see this before ... maybe it didn't use to?  Anyway, the
order of execution in
       ereport(ERROR,               (errmsg("%s", interp->result),                errcontext("%s\nin PL/Tcl function
\"%s\"",                          UTF_U2E(Tcl_GetVar(interp, "errorInfo",
TCL_GLOBAL_ONLY)),                          prodesc->user_proname)));
 

is machine-dependent, which explains why I didn't see it on HPPA.
        regards, tom lane


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Re: Question about Encoding a Custom Type
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pltcl broken on tcl8.5 ?