#1230 closed bug (fixed)
SPIT: 'SET SEARCH_PATH TO NULL' yields an error
Reported by: | msieczka | Owned by: | nobody |
---|---|---|---|
Priority: | critical: causes crash or data corruption | Milestone: | |
Component: | SPIT | Version: | Trunk |
Keywords: | Cc: | ||
Must Fix for Release: | Yes | Platform: | Debian |
Platform Version: | Awaiting user input: | no |
Description
QGIS SVN trunk r9094, PostgreSQL 8.2.7, PostGIS 1.3.3, QT 4.4.0
Debian testing amd64.
- add a Shapefile in SPIT
- connect to a database
- choose 'Public' schema
- press OK - the import fails, with an error:
Problem inserting features from file: /home/shoofi/gis/dane/WDPE/NATpntpol/Poland_NP_poly.shp <p>Error while executing the SQL:</p><p>SET SEARCH_PATH TO NULL,'public'</p><p>The database said:ERROR: syntax error at or near "NULL" LINE 1: SET SEARCH_PATH TO NULL,'public' ^ </p>
Note:
See TracTickets
for help on using tickets.
not reproducable here, but r9112 should still fix it.