/[thuban]
ViewVC logotype

Revision 1946


Jump to revision: Previous Next
Author: bh
Date: Thu Nov 13 18:56:41 2003 UTC (21 years, 3 months ago)
Changed paths: 1
Log Message:
Quote table and column names properly for postgis.

(quote_identifier): New. Function to
quote an identifier for use in an sql statement
(PostGISColumn.__init__): Add the quoted_name attribute
(PostGISTable.__init__): New instance variable quoted_tablename
(PostGISTable._fetch_table_information): Use the quoted table
name. New isntance variable quoted_geo_col with a quoted version
of geometry_column
(PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
(PostGISTable.RowOrdinalToId): Use the quoted table name
(PostGISTable.ReadValue, PostGISTable.ValueRange)
(PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
(PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
(PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
Use quoted table and column names


Changed paths

Path Details
Directorytrunk/thuban/Thuban/Model/postgisdb.py modified , text changed

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26