Opened 15 years ago
Closed 15 years ago
Last modified 14 years ago
#837 closed defect (fixed)
Saving edited PostGIS layer reports PostgreSQL error
|Reported by:||horst.duester||Owned by:||nobody|
|Priority:||major: does not work as expected||Milestone:|
|Must Fix for Release:||No||Platform:||Debian|
|Platform Version:||Awaiting user input:||no|
Take a look at the attached SQL Script. This script creates 2 Tables test and test2.
- Edit Table test and add a polygon.
- When you save this table PostgrSQL reports the error: ERROR: invalid input syntax for integer: "now()"
When you try the same procedure with test2 PostgreSQL is able to save the created polygon.
The problem seems to be the order of the geometry column. In test the geometry column is the second column of the table. All later tables seemed to be shifted.Take a look at the warning displayed in the terminal window.
In table test2 the geometry column is the last column of the table and it doesn't influence the order of the columns. => Save works fine.
Change History (5)
by , 15 years ago
comment:1 by , 15 years ago
follow-up: 3 comment:2 by , 15 years ago
|Status:||new → closed|
fixed in r7659
comment:3 by , 15 years ago
comment:4 by , 14 years ago
Milestone Version 0.9.1 deleted
I made a typo in my ticket:
I wrote: ... All later tables seemed to be shifted ...
Of course I ment ... All later columns seemed to be shifted.