Re: Function call crashes server

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB SD
Тема Re: Function call crashes server
Дата
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4961D8E@m0114.s-mxs.net
обсуждение исходный текст
Ответ на Function call crashes server  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Function call crashes server  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Removing the special-case logic in ExecTypeFromTL yields
>
> regression=# SELECT update_pg_pwd();
> ERROR:  getTypeOutputInfo: Cache lookup of type 0 failed

Wouldn't it be nice to make this a feature that allows
stored procedures (void update_pg_pwd ()) ? Correctly register
this function to not return anything ? This is what the 0 is actually
supposed to mean here, no ? Such a proc would need a fmgr, that generates
an empty resultset.

Andreas


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

Предыдущее
От: Oliver Elphick
Дата:
Сообщение: Linux/mips compile should not use -mips2
Следующее
От: Thomas Lockhart
Дата:
Сообщение: Re: Domains and type coercion