Last modified: 2012-08-04 20:48:39 UTC
In includes\db\DatabasePostgres.php file line 1235. ============================================================== $ctype = pg_fetch_result($this->doQuery("SHOW lc_ctype"),0,0); $SQL = "UPDATE mediawiki_version SET mw_version=$mwv, " ."pg_version=$pgv, pg_user=$pgu, " ."mw_schema = $mws, ts2_schema = $tss, " ."pg_port=$pgp, pg_dbname=$dbn, " ."ctype = '$ctype' " ."WHERE type = 'Creation'"; $this->query($SQL); ============================================================== When the command "SHOW lc_ctype" returns a string include "'" symbol, for example: "Chinese_People's Republic of China.936", the sql failed, because the "'" symbol was not escaped.
This was fixed in r46889.