Merge lp:~syleam/openobject-server/trunk-dont-use-with-oids into lp:openobject-server
Proposed by
Christophe CHAUVET
Status: | Merged |
---|---|
Merged at revision: | 4646 |
Proposed branch: | lp:~syleam/openobject-server/trunk-dont-use-with-oids |
Merge into: | lp:openobject-server |
Diff against target: |
21 lines (+2/-2) 1 file modified
openerp/osv/orm.py (+2/-2) |
To merge this branch: | bzr merge lp:~syleam/openobject-server/trunk-dont-use-with-oids |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Olivier Dony (Odoo) | Approve | ||
Christophe CHAUVET (community) | Needs Resubmitting | ||
Review via email: mp+138503@code.launchpad.net |
To post a comment you must log in.
Looks ok, but why not drop the "WITH[OUT] OIDS" clause directly? It's deprecated and the default is off since PostgreSQL 8.1 [*] and OpenERP requires 8.3.
Also it's best to avoid any kind of whitespace alteration on lines that are not modified by the patch, because it pollutes the version history. If you really really want to change whitespace you should do it in a separate commit at least (but it's better to simply avoid it). We ask all our developers to turn all kind of "at-save" code formatting triggers, because of that ;-)
Thanks for the patch!
[*] http:// www.postgresql. org/docs/ 8.4/static/ runtime- config- compatible. html#GUC- DEFAULT- WITH-OIDS