[udig-devel] 1.1.RC1 testing

Michael Brasser mbrasser at d-ear.com
Tue Jun 20 20:25:17 PDT 2006


Would someone with svn access be willing to commit the change discussed below?

Thanks,
Michael

Cory Horner wrote:

>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.


More information about the udig-devel mailing list