[postgis-tickets] r15381 - Boolean (FTLogical) should be 1 byte not 2 bytes

Regina Obe lr at pcorp.us
Sun Apr 30 19:39:07 PDT 2017


Author: robe
Date: 2017-04-30 19:39:06 -0700 (Sun, 30 Apr 2017)
New Revision: 15381

Modified:
   trunk/NEWS
   trunk/loader/pgsql2shp-core.c
Log:
Boolean (FTLogical) should be 1 byte not 2 bytes
closes #3682 for PostGIS 2.4.0 (trunk)

Modified: trunk/NEWS
===================================================================
--- trunk/NEWS	2017-04-30 21:36:48 UTC (rev 15380)
+++ trunk/NEWS	2017-05-01 02:39:06 UTC (rev 15381)
@@ -6,6 +6,10 @@
   - #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

Modified: trunk/loader/pgsql2shp-core.c
===================================================================
--- trunk/loader/pgsql2shp-core.c	2017-04-30 21:36:48 UTC (rev 15380)
+++ trunk/loader/pgsql2shp-core.c	2017-05-01 02:39:06 UTC (rev 15381)
@@ -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 @@
 		else if (pgfieldtype == 16)
 		{
 			dbffieldtype = FTLogical;
-			dbffieldsize = 2;
+			dbffieldsize = 1;
 			dbffielddecs = 0;
 		}
 



More information about the postgis-tickets mailing list