Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8.3, 1.9, 2.0
-
Component/s: Database SQL/XMLDB
-
Labels:None
-
Environment:Linux 2.6.22, Ubuntu 7.10, Postgres 8.1
-
Database:PostgreSQL
-
Affected Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
-
Fixed Branches:MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
Description
These patches upgrade dst_time and std_time fields in timezone to varchar(6)
These fields were varchar(5) and that's too small to upgrade using the latest Olson data (which contains the new daylight saving rules for New Zealand for example).
The patches apply cleanly against:
- MOODLE_18_STABLE
- MOODLE_19_STABLE
- CVSHEAD
Francois
Ops,
sorry by the delay!
Just looked patches and...err... uhm... the upgrade.php scripts aren't correct. They are using the old (deprecated) table_column() that isn't cross-db at all. Should use new ddl stuff exclusively, like the proposed by the XMLDB editor.
Ciao