]> granicus.if.org Git - postgis/commitdiff
Boolean (FTLogical) should be 1 byte not 2 bytes
authorRegina Obe <lr@pcorp.us>
Mon, 1 May 2017 02:39:06 +0000 (02:39 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 1 May 2017 02:39:06 +0000 (02:39 +0000)
closes #3682 for PostGIS 2.4.0 (trunk)

git-svn-id: http://svn.osgeo.org/postgis/trunk@15381 b70326c6-7e19-0410-871a-916f4a2858ee

NEWS
loader/pgsql2shp-core.c

diff --git a/NEWS b/NEWS
index de2fb277c683e6b23def2662719b0bfe16937d9f..cbda3e7601019e8e613f02b8509e20c1cba48c29 100644 (file)
--- 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
index 7856d1edb9dbb5d7e600a0e9f23e6f9043b56bc3..d26e0d73b721099c078d45548bac1b308084e15f 100644 (file)
@@ -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;
                }