treat oid=25 (TEXT) types as string
This commit is contained in:
parent
110016fe78
commit
58f672fc83
1 changed files with 2 additions and 1 deletions
|
@ -80,12 +80,13 @@ feature_ptr postgis_featureset::next()
|
||||||
float8net(val,buf);
|
float8net(val,buf);
|
||||||
boost::put(*feature,name,val);
|
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);
|
boost::put(*feature,name,buf);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
std::clog << "uknown OID = " << oid << " FIXME \n";
|
||||||
boost::put(*feature,name,0);
|
boost::put(*feature,name,0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue