Re: Wierdness using SUM to add results of custom C function. - Mailing list pgsql-general

From Tom Lane
Subject Re: Wierdness using SUM to add results of custom C function.
Date
Msg-id 25665.1014490993@sss.pgh.pa.us
Whole thread Raw
In response to Wierdness using SUM to add results of custom C function.  (Konrad Scherer <kscherer@magma.ca>)
List pgsql-general
Konrad Scherer <kscherer@magma.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

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: How to Run postgres inside gdb for debugging
Next
From: Tom Lane
Date:
Subject: Re: Problems with DBI, DBD::Pg and Postgres 7.2.