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.