Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] 1.1.RC1 testing

done
On 20-Jun-06, at 8:25 PM, Michael Brasser wrote:

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.
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel



Back to the top