[postgis-devel] [PostGIS] #1830: pgsql2shp fix for "XInvalid endian flag value encountered" on PostgreSQL 9.2
PostGIS
trac at osgeo.org
Mon May 28 08:53:45 PDT 2012
#1830: pgsql2shp fix for "XInvalid endian flag value encountered" on PostgreSQL
9.2
----------------------------+-----------------------------------------------
Reporter: dfuhry2 | Owner: pramsey
Type: defect | Status: reopened
Priority: high | Milestone: PostGIS 2.0.1
Component: loader/dumper | Version: 2.0.x
Resolution: | Keywords:
----------------------------+-----------------------------------------------
Comment(by mcayland):
Actually on second thoughts, that will penalise people using a new version
of libpq against a new PostgreSQL server since the point of hex encoding
is that it noticeably reduces the traffic on the wire between client and
server compared to escape encoding :(
Perhaps a better approach would be to perform PQunescapeBytea() on a hex-
encoded string such as '\x4d' - if the client library supports hex
encoding you'll get back an 'M', otherwise something different? I haven't
tried this, but it might be worth an experiment.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1830#comment:9>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list