From 88c20d16dbee9b8313d50b51f4ad44438fd65a37 Mon Sep 17 00:00:00 2001 From: Regina Obe Date: Mon, 1 May 2017 02:39:06 +0000 Subject: [PATCH] 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 --- NEWS | 4 ++++ loader/pgsql2shp-core.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) 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; } -- 2.50.1