/[papo]/gnue/common/src/dbdrivers/postgresql/DBdriver.py
ViewVC logotype

Diff of /gnue/common/src/dbdrivers/postgresql/DBdriver.py

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

revision 1.6 by styxman, Sat Nov 16 00:19:32 2002 UTC revision 1.6.2.1 by anthonyl, Tue Mar 4 22:09:35 2003 UTC
# Line 16  Line 16 
16  # write to the Free Software Foundation, Inc., 59 Temple Place  # write to the Free Software Foundation, Inc., 59 Temple Place
17  # - Suite 330, Boston, MA 02111-1307, USA.  # - Suite 330, Boston, MA 02111-1307, USA.
18  #  #
19  # Copyright 2000, 2001 Free Software Foundation  # Copyright 2000-2003 Free Software Foundation
20  #  #
21  # FILE:  # FILE:
22  # postgresql/DBdriver.py  # postgresql/DBdriver.py
# Line 39  try: Line 39  try:
39    import pgdb    import pgdb
40    from _pg import error as PGError   # This is so we can catch login errors    from _pg import error as PGError   # This is so we can catch login errors
41  except ImportError, message:  except ImportError, message:
42    raise GConnections.AdapterNotInstalled, \    tmsg = _("Driver not installed: pygresql for PostgreSQL [%s]") % message
43           _("Driver not installed: pygresql for PostgreSQL [%s]") % message    raise GConnections.AdapterNotInstalled, tmsg
44    
45  class PG_RecordSet(PGSQL_RecordSet):  class PG_RecordSet(PGSQL_RecordSet):
46    pass    pass
# Line 123  supportedDataObjects = { Line 123  supportedDataObjects = {
123    'object': PG_DataObject_Object,    'object': PG_DataObject_Object,
124    'sql':    PG_DataObject_SQL    'sql':    PG_DataObject_SQL
125  }  }
126    
127    
128    
129    
130    
131    

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.6.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26