treat oid=25 (TEXT) types as string

This commit is contained in:
Artem Pavlenko 2006-10-17 21:36:11 +00:00
parent 110016fe78
commit 58f672fc83

View file

@ -80,12 +80,13 @@ feature_ptr postgis_featureset::next()
float8net(val,buf);
boost::put(*feature,name,val);
}
else if (oid==1042 || oid==1043) //bpchar or varchar
else if (oid==25 || oid==1042 || oid==1043) // text or bpchar or varchar
{
boost::put(*feature,name,buf);
}
else
{
std::clog << "uknown OID = " << oid << " FIXME \n";
boost::put(*feature,name,0);
}
}