Opened 16 years ago
Last modified 16 years ago
#104 closed defect
shp2pgsql is using deprecated PostgreSQL escape syntax — at Version 4
Reported by: | robe | Owned by: | robe |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | postgis | Version: | |
Keywords: | Cc: |
Description (last modified by )
For some datasets I get this
HINT: Use the escape string syntax for backslashes, e.g., E'
'.
WARNING: nonstandard use of
in a string literal
LINE 1: …w','St','Brighton','02135','Residential','3','R3','\\2003\\2...
Change History (6)
comment:1 by , 16 years ago
by , 16 years ago
comment:4 by , 16 years ago
Description: | modified (diff) |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
I think the changes done in #123 r3989 broke this and worst yet, I can no longer import my sample file with either shp2pgsql or the shp2pgsql gui. Gives the annoying escape errors and also that I have invalid characters for SQL ASCII or some such thing. The -W latin1 also doesn't work.
Try attached file.
Note:
See TracTickets
for help on using tickets.
Try this micro-patch and see if it goes away…