[postgis-tickets] [PostGIS] #5179: error: expected ‘)’ before ‘quote_identifier’
PostGIS
trac at osgeo.org
Sun Jul 3 21:02:17 PDT 2022
#5179: error: expected ‘)’ before ‘quote_identifier’
-----------------------------+---------------------------
Reporter: Bas Couwenberg | Owner: robe
Type: defect | Status: new
Priority: high | Milestone: PostGIS 3.3.0
Component: loader/dumper | Version: master
Resolution: | Keywords:
-----------------------------+---------------------------
Comment (by Bas Couwenberg):
This likely fixes the issue:
{{{
--- a/loader/pgsql2shp-core.c
+++ b/loader/pgsql2shp-core.c
@@ -1857,7 +1857,7 @@ ShpDumperOpenTable(SHPDUMPERSTATE *state)
#ifdef WORDS_BIGENDIAN
if (state->pgis_major_version > 0) {
stringbuffer_aprintf(&sb,
- "ST_asEWKB(ST_SetSRID(%s::geometry, 0), 'XDR')
AS _geoX"
+ "ST_asEWKB(ST_SetSRID(%s::geometry, 0), 'XDR')
AS _geoX",
quote_identifier(state->geo_col_name) );
}
else
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5179#comment:1>
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-tickets
mailing list