From 170e23440f6281fe0587798c558d4e6edf54a2a6 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Tue, 4 Sep 2012 18:20:15 +0200 Subject: [PATCH] Add support for literal types in PostGIS queries. Closes #1464. --- plugins/input/postgis/postgis_featureset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/input/postgis/postgis_featureset.cpp b/plugins/input/postgis/postgis_featureset.cpp index 98dc8c928..e083070b1 100644 --- a/plugins/input/postgis/postgis_featureset.cpp +++ b/plugins/input/postgis/postgis_featureset.cpp @@ -152,7 +152,7 @@ feature_ptr postgis_featureset::next() float8net(val,buf); boost::put(*feature,name,val); } - else if (oid==25 || oid==1043) // text or varchar + else if (oid==25 || oid==1043 || oid==705 ) // text or varchar or literal { UnicodeString ustr = tr_->transcode(buf); boost::put(*feature,name,ustr);