Commit Graph

33 Commits

Author SHA1 Message Date
mjollnir_ 9c9aeef15c Fixing postgres unicode migration for mac os x and multiple postgres installations 2006-04-05 03:54:12 +00:00
stronk7 187db9ddfe Adding "ca" to the array of encodings... 2006-03-28 07:37:58 +00:00
moodler 98691349b1 Regenerate course caches after UTF upgrade (bug 5002) 2006-03-28 02:14:12 +00:00
patrickslee 8cf1d8949e Stripped out an unnecessary line in pg_dump output which causes error.
Also deletes the last temp file while duplicating database to save space
2006-03-26 21:47:49 +00:00
moodler d799fa2d6c Checking in an old change 2006-03-21 09:03:30 +00:00
patrickslee eca0392a2e Seperate postgres command line process for better error caching 2006-03-13 20:45:27 +00:00
patrickslee ef03a260e5 PostgreSQL 7.x pg_dump command line options fix 2006-03-12 21:40:24 +00:00
toyomoyo ac60dc4c80 fixing missing global 2006-03-10 04:28:21 +00:00
patrickslee cb8229d0a8 UTF8 migration - now supporting PostgreSQL 2006-03-10 03:43:33 +00:00
toyomoyo 5790c8998a took out some debug code for koen 2006-03-08 06:57:53 +00:00
toyomoyo ffa5b35f6d counting is not sensible is not sorting by id asc 2006-03-08 05:08:44 +00:00
skodak 7710da22bd parameter cleaup - round 7; corrected search in user.php, semicolon in case fixed in utfdbmigrate (I wonder if it caused any problems) 2006-03-07 16:42:30 +00:00
toyomoyo 5f9de695a4 this code is for koen to test, it will output a lot of debug info in debug mode, thanks 2006-03-07 08:24:32 +00:00
toyomoyo 653c0596de added some code to give some feedback once in a while (per 5000 records, for now) 2006-03-07 04:36:55 +00:00
toyomoyo f07da5dde0 fixing 4883, sorry 2006-03-07 01:33:52 +00:00
toyomoyo 42295d1c67 added some new functionality
1. allows moodler to input a global language. If set, all convertion will be from that encoding to utf8. Thus saving time.
2. Allows user to specify the number of records to process. This will resume after x number of recoreds are processed.
3. DIsplay the approximate total number of records that needs process. Note some records might get processed multiple times
4. Takes the moodler right back to lang import after migration
2006-02-24 07:24:59 +00:00
toyomoyo 583dfd073d individual record error only gets reported when debug is on 2006-02-13 02:38:40 +00:00
toyomoyo 3b34520151 fixed a bug to stop changing dummy field 2006-02-13 01:55:42 +00:00
toyomoyo 1a395c082d added a missing prefix 2006-02-08 02:42:12 +00:00
toyomoyo 5698c19d7a prints all SQLs if debug is set to true 2006-02-08 02:20:43 +00:00
toyomoyo f8cf297a7a bug fix for 4709 2006-02-08 02:02:28 +00:00
toyomoyo d9e61eacfd setting time to 0 2006-02-07 07:05:01 +00:00
toyomoyo 0a43c46b3b hardcode all encodings, so we don't need to rely on old lang files 2006-02-07 02:57:35 +00:00
stronk7 96c9f7379c Now the utfdbmigrate process trusts about enviromental decission. 2006-02-04 19:03:51 +00:00
stronk7 696d30784b DOS linefeeds are dead now! 2006-02-04 18:51:25 +00:00
stronk7 be828dcdcb New record!! 2 lines, 3 typos!! :-P
Also, I've noticed that the file has DOS linefeeds!
Please avoid them!
2006-02-04 18:49:19 +00:00
moodler 27afe69260 get_string not stripslashes 2006-02-03 09:17:25 +00:00
moodler e9e6e7b85f fix for 4676 2006-02-03 09:16:15 +00:00
moodler 9b470754b3 deleting lang cahce after done 2006-01-31 09:08:22 +00:00
moodler 799ce77d79 mechanism for unicode db migration is in. Please only use for testing at this stage. This is not for production site! (yet) 2006-01-31 08:21:04 +00:00
moodler a03d69a5ea added code to support dummy fields (to enable dropping and adding arbitray number of indexes) 2006-01-24 02:36:32 +00:00
moodler 11921822d5 fixing "default" bug 2006-01-19 05:28:53 +00:00
moodler bdebe6c40c this is the db migration script, this is not called at the moment, please do not call this script as it is only in testing stage. 2006-01-16 07:59:04 +00:00