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

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

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

revision 1.12.2.9 by apronotti, Thu Jun 5 22:11:59 2003 UTC revision 1.12.2.10 by apronotti, Fri Jun 6 18:30:31 2003 UTC
# Line 324  class PGSQL_DataObject_Object(PGSQL_Data Line 324  class PGSQL_DataObject_Object(PGSQL_Data
324      #To get the names you can start a second query like:      #To get the names you can start a second query like:
325    
326      tables = map(lambda x: x.strip(), self.table.split(','))      tables = map(lambda x: x.strip(), self.table.split(','))
327      #self.table.replace(' ','').split(',')  
328      self._primaryKeys = {}      self._primaryKeys = {}
329      for table in tables:      for table in tables:
330        statement = "SELECT indkey FROM pg_index, pg_class c WHERE indrelid=c.oid AND indisprimary AND relname='%s' " \        statement = "SELECT indkey FROM pg_index, pg_class c WHERE indrelid=c.oid AND indisprimary AND relname='%s' " \

Legend:
Removed from v.1.12.2.9  
changed lines
  Added in v.1.12.2.10

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