ironport/shrapnel

postgres: 'numeric' type not being decoded correctly.

Closed this issue · 0 comments

The decoder fun for this is set to 'int', it needs to be float.

Repro:

create table thing (mynum numeric (3,2));
insert into thing (mynum) values (1.0);
select * from thing;