Michael Brasser wrote:

...I've also been able to solve at least one PostGIS problem by changing line 
34 of PostGISAutoIncrementFIDMapper, from:
    statement.execute("SELECT 
currval(pg_get_serial_sequence("+tableName+","+colName+"))");
to
    statement.execute("SELECT 
currval(pg_get_serial_sequence(\'"+tableName+"\',\'"+colName+"\'))");

i.e. it seems like the table name and column name need to be in single quotes 
to work correctly???
You're right, this would be a problem if the table name or column names contain uppercase characters.

Cory.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Reply via email to