From: Regina Obe Date: Mon, 1 May 2017 02:39:06 +0000 (+0000) Subject: Boolean (FTLogical) should be 1 byte not 2 bytes X-Git-Tag: 2.4.0alpha~111 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88c20d16dbee9b8313d50b51f4ad44438fd65a37;p=postgis Boolean (FTLogical) should be 1 byte not 2 bytes closes #3682 for PostGIS 2.4.0 (trunk) git-svn-id: http://svn.osgeo.org/postgis/trunk@15381 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/NEWS b/NEWS index de2fb277c..cbda3e760 100644 --- a/NEWS +++ b/NEWS @@ -6,6 +6,10 @@ PostGIS 2.4.0 - #3599, Geobuf output support via ST_AsGeobuf (Björn Harrtell) - #3661, Mapbox vector tile output support via ST_AsMVT (Björn Harrtell / CartoDB) - #3689, Add orientation checking and forcing functions (Dan Baston) + + * Bug Fixes * + - #3682, Boolean (FTLogical) should be 1 byte not 2 bytes + PostGIS 2.3.0 2016/09/26 diff --git a/loader/pgsql2shp-core.c b/loader/pgsql2shp-core.c index 7856d1edb..d26e0d73b 100644 --- a/loader/pgsql2shp-core.c +++ b/loader/pgsql2shp-core.c @@ -1,7 +1,7 @@ /********************************************************************** * * PostGIS - Spatial Types for PostgreSQL - * http://www.postgis.org + * http://postgis.net * * Copyright (C) 2001-2003 Refractions Research Inc. * @@ -1629,7 +1629,7 @@ ShpDumperOpenTable(SHPDUMPERSTATE *state) else if (pgfieldtype == 16) { dbffieldtype = FTLogical; - dbffieldsize = 2; + dbffieldsize = 1; dbffielddecs = 0; }