Re: Problems with output function of new datatype!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with output function of new datatype!
Дата
Msg-id 4484.1100650268@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Problems with output function of new datatype!  (subhash@nmsu.edu)
Список pgsql-hackers
subhash@nmsu.edu writes:
> The real problem starts here: when i use the function as
>      select rational_out(rational_type) from testtable; 
> it works fine and returns a cstring. But when i execute
>      select rational_type from testtable;
> then it dies with the error i mentioned before. Why is it happeneing?

Because your code is broken ;-).  But when you haven't shown us any
of the code, it's impossible to guess how.
        regards, tom lane


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

Предыдущее
От: John Hansen
Дата:
Сообщение: Re: [PATCHES] plperl Safe restrictions
Следующее
От: Neil Conway
Дата:
Сообщение: Re: postmaster segfaults with HUGE table