Fix pgsql2shp for big-endian systems
|Reported by:||rroliver||Owned by:||strk|
|Keywords:||pgsql2shp bigendian history||Cc:|
pgsql2shp has been broken for all 2.0.0 versions (since r5828) on all big-endian systems.
Specifying the column name _geoX for the geometry column was neglected in the main scan query for big-endian systems, causing breakage in ShpLoaderGenerateShapeRow as this is the column name searched for to retrieve the geometry column number (geocolnum).
Symptoms of issue are empty shapefile output and the error msg
"column number -1 is out of range 0..x"
for every row in table.
Tested and working on Solaris Sparc (32 and 64)
Change History (5)
by , 11 years ago