Re: Problems with output function of new datatype! - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Problems with output function of new datatype!
Date
Msg-id 4484.1100650268@sss.pgh.pa.us
Whole thread Raw
In response to Problems with output function of new datatype!  (subhash@nmsu.edu)
List 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 by date:

Previous
From: John Hansen
Date:
Subject: Re: [PATCHES] plperl Safe restrictions
Next
From: Neil Conway
Date:
Subject: Re: postmaster segfaults with HUGE table