Changeset 663 for trunk


Ignore:
Timestamp:
Dec 10, 2015, 7:40:11 AM (4 years ago)
Author:
cito
Message:

Fix nasty typo in update() method

This bug prevented the method from using the returning clause.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/module/pg.py

    r662 r663  
    885885        values = ', '.join(values)
    886886        selectable = self.has_table_privilege(qcl)
    887         if selectable and self.server_version >= 880200:
     887        if selectable and self.server_version >= 80200:
    888888            ret = ' RETURNING %s*' % ('oid, ' if 'oid' in attnames else '')
    889889        else:
Note: See TracChangeset for help on using the changeset viewer.