Skip to content

Commit

Permalink
Correct conversion from Parrot Float PMCs -> PG floats. All tests pass!
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Apr 11, 2010
1 parent 3d523d8 commit dbe8b5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plparrot.c
Expand Up @@ -335,7 +335,7 @@ plparrot_make_sausage(Parrot_Interp interp, Parrot_PMC pmc, FunctionCallInfo fci

return InputFunctionCall(&prodesc->result_in_func, str, prodesc->result_typioparam, -1);

} else if (Parrot_PMC_isa(interp,pmc,create_string("Numeric"))) {
} else if (Parrot_PMC_isa(interp,pmc,create_string("Float"))) {
return Float8GetDatum(Parrot_PMC_get_number(interp,pmc));
} else {
elog(NOTICE,"CANNOT MAKE SAUSAGE");
Expand Down

0 comments on commit dbe8b5e

Please sign in to comment.