Re: Problems with output function of new datatype!

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: subhash(at)nmsu(dot)edu
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problems with output function of new datatype!
Date: 2004-11-17 00:11:08
Message-ID: 4484.1100650268@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

subhash(at)nmsu(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2004-11-17 00:18:08 Re: postmaster segfaults with HUGE table
Previous Message John Hansen 2004-11-16 23:46:21 Re: [PATCHES] plperl Safe restrictions