odoo/openerp
Olivier Dony a5b51c2be7 [IMP] orm._auto_init: avoid copying VARCHAR column when increasing size, alter in-place instead + better temporary names
Historically, we used a copy+rename technique during
table upgrades to alter varchar columns sizes.
This was only necessary to permit downsizing
columns, which we do not want to do anymore (it is
too dangerous, so has to be done explicitly when
required).

Switching to a pure ALTER COLUMN TYPE is simpler
and also much faster for large tables.

Also fixed the inappropriate name used for
temporary columns during column type casting
(which *does* require the copy+rename technique).

bzr revid: odo@openerp.com-20140217164239-0iou3dsiea3foabb
2014-02-17 17:42:39 +01:00
..
addons [FIX] fonts: move domain on field instead of view and use capitalised version of mode (would not found any otherwise) 2014-02-17 14:48:23 +01:00
cli [REF] Use the contextlib.closing function instead of a couple of try/catch for 2014-01-09 10:32:58 +01:00
conf [MERGE] openerp.pooler is deprecated. 2013-03-27 17:40:45 +01:00
modules [MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7 2014-02-06 12:02:20 +01:00
osv [IMP] orm._auto_init: avoid copying VARCHAR column when increasing size, alter in-place instead + better temporary names 2014-02-17 17:42:39 +01:00
report [MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7 2014-02-06 12:02:20 +01:00
service [MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7 2014-02-06 12:02:20 +01:00
tests [MERGE] forward port of branch 7.0 up to revid 5224 chs@openerp.com-20140206105141-7e8bv8ordqqsswh7 2014-02-06 12:02:20 +01:00
tools [IMP] sale_eval break continue raise control flow opcodes 2014-02-06 13:40:19 +01:00
workflow [IMP] py26 compatibility 2014-01-20 14:53:33 +01:00
PKG-INFO [REM] netrpc: KILL EVERYBODY 2013-02-21 13:18:25 +01:00
__init__.py restore the original gevent detection 2013-09-10 01:19:46 +02:00
exceptions.py [REF] code review 2013-02-15 15:35:03 +01:00
http.py [MERGE] backport trunk revision 5053 fva@openerp.com-20140206110134-jk5zbd8cc6x1ebh5 2014-02-06 14:11:16 +01:00
import_xml.rng [IMP] Backport one feature from website: this feature allows to specify a file 2014-01-09 16:43:38 +01:00
loglevels.py [REF] logging: removed pseudo log-level TEST. 2013-03-26 16:58:44 +01:00
netsvc.py [FORWARD] Forward port of server 7.0 until revision 4988 2013-05-28 12:27:33 +02:00
pooler.py [REF] pooler: mark the functions as deprecated. 2013-03-27 15:16:53 +01:00
release.py [REL] version: 7.~saas-3 2014-01-31 13:23:13 +01:00
sql_db.py [FIX] multiprocess mode, empty the cursor pool before forking 2014-01-22 23:15:25 +01:00