Parent Directory
|
Revision Log
|
Patch
revision 1630 by bh, Thu Aug 21 16:02:23 2003 UTC | revision 1631 by bh, Fri Aug 22 16:01:14 2003 UTC | |
---|---|---|
# | Line 28 def has_postgis_support(): | Line 28 def has_postgis_support(): |
28 | """ | """ |
29 | return psycopg is not None | return psycopg is not None |
30 | ||
31 | def psycopg_version(): | |
32 | return psycopg.__version__ | |
33 | ||
34 | if psycopg is not None: | if psycopg is not None: |
35 | type_map = [(psycopg.STRING, table.FIELDTYPE_STRING), | type_map = [(psycopg.STRING, table.FIELDTYPE_STRING), |
36 | (psycopg.INTEGER, table.FIELDTYPE_INT), | (psycopg.INTEGER, table.FIELDTYPE_INT), |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |