Last modified: 2012-08-04 20:49:04 UTC
Created attachment 4332 [details]
Necessary changes to DatabasePostgres.php
To support schema names containing dashes (like "my-cool-schema"), the schema name has to be double-quoted in SQL statements.
Throughout DatabasePostgres.php this is done by using the quote_ident() function.
But there is one missing spot: In setup_database(), while testing the writeability of the schema,
$wgDBmwschema is used unquoted in SQL statements, leading to errors.
The diff is attached.
Thanks, applied patch plus some other similar problems in r28214