Skip to content
Snippets Groups Projects
Commit ea90a93a authored by Teodor Sigaev's avatar Teodor Sigaev
Browse files

Fix float8->int64 transformation

parent 93aa22fc
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,6 @@ gbt_num_compress(GISTENTRY *retval, GISTENTRY *entry, const gbtree_ninfo * tinfo
{
int16 i2;
int32 i4;
TimeADT ts;
DateADT dt;
} v;
......@@ -34,10 +33,6 @@ gbt_num_compress(GISTENTRY *retval, GISTENTRY *entry, const gbtree_ninfo * tinfo
v.i4 = DatumGetObjectId(entry->key);
leaf = &v.i4;
break;
case gbt_t_time:
v.ts = DatumGetTimeADT(entry->key);
leaf = &v.ts;
break;
case gbt_t_date:
v.dt = DatumGetDateADT(entry->key);
leaf = &v.dt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment