/[thuban]/branches/WIP-pyshapelib-bramz/ChangeLog
ViewVC logotype

Diff of /branches/WIP-pyshapelib-bramz/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1948 by jan, Wed Nov 12 08:29:11 2003 UTC revision 1949 by bh, Thu Nov 13 18:57:14 2003 UTC
# Line 1  Line 1 
1    2003-11-13  Bernhard Herzog  <[email protected]>
2    
3            Quote table and column names properly for postgis.
4    
5            * Thuban/Model/postgisdb.py (quote_identifier): New. Function to
6            quote an identifier for use in an sql statement
7            (PostGISColumn.__init__): Add the quoted_name attribute
8            (PostGISTable.__init__): New instance variable quoted_tablename
9            (PostGISTable._fetch_table_information): Use the quoted table
10            name. New isntance variable quoted_geo_col with a quoted version
11            of geometry_column
12            (PostGISTable.NumRows, PostGISTable.RowIdToOrdinal)
13            (PostGISTable.RowOrdinalToId): Use the quoted table name
14            (PostGISTable.ReadValue, PostGISTable.ValueRange)
15            (PostGISTable.UniqueValues, PostGISTable.SimpleQuery)
16            (PostGISShapeStore.BoundingBox, PostGISShapeStore.Shape)
17            (PostGISShapeStore.AllShapes, PostGISShapeStore.ShapesInRegion):
18            Use quoted table and column names
19    
20            * test/test_postgis_db.py (TestPostGISSpecialCases)
21            (TestPostGISIgnoredColumns): Rename the class to
22            TestPostGISSpecialCases because that better describes the new
23            cases
24            (TestPostGISSpecialCases.test_unsupported_types)
25            (TestPostGISSpecialCases.test): Rename the method to
26            test_unsupported_types because we need a more descriptive name now
27            that there are more methods
28            (TestPostGISSpecialCases.test_table_name_quoting)
29            (TestPostGISSpecialCases.test_column_name_quoting)
30            (TestPostGISSpecialCases.test_shapestore_name_quoting): New test
31            cases to test quoting of table and column names in PostGISTable
32            and PostGISShapeStore
33    
34            * test/postgissupport.py
35            (skip_if_addgeometrycolumn_does_not_use_quote_ident): New. Skip if
36            AddGeometryColumn desn't support table or column names with sapces
37            or double quotes
38    
39  2003-11-12  Jan-Oliver Wagner <[email protected]>  2003-11-12  Jan-Oliver Wagner <[email protected]>
40    
41          * Extensions/wms/__init__.py: New: Init to make this          * Extensions/wms/__init__.py: New: Init to make this

Legend:
Removed from v.1948  
changed lines
  Added in v.1949

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26