Changeset 663 for branches/4.x


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
  • branches/4.x/module/pg.py

    r653 r663  
    872872        values = ', '.join(values)
    873873        selectable = self.has_table_privilege(qcl)
    874         if selectable and self.server_version >= 880200:
     874        if selectable and self.server_version >= 80200:
    875875            ret = ' RETURNING %s*' % ('oid' in attnames and 'oid, ' or '')
    876876        else:
Note: See TracChangeset for help on using the changeset viewer.