Re: Wierdness using SUM to add results of custom C function.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Konrad Scherer <kscherer(at)magma(dot)ca>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Wierdness using SUM to add results of custom C function.
Date: 2002-02-23 19:03:13
Message-ID: 25665.1014490993@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Konrad Scherer <kscherer(at)magma(dot)ca> writes:
> The C function returns the correct result all the time but the sum
> returns the wrong result all the time. It mostly returns 23, but it
> returned 24 once!

Very strange. May we see the full text of the C function, and the
SQL declaration you gave for it?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-02-23 19:19:11 Re: Problems with DBI, DBD::Pg and Postgres 7.2.
Previous Message Tom Lane 2002-02-23 19:01:11 Re: How to Run postgres inside gdb for debugging