Topic on Project:Support desk

Possible bug in DatabasePostgres.php

3
Summary by Florianschmidtwelzow
Marc Gutt (talkcontribs)

With this commit the new setting "standard_conforming_strings" was added:
github.com/wikimedia/mediawiki/commit/71d5b68221002d71c88783acab7df267a4e04cec

Some of my users (MediaWiki 1.19, PHP 5.2.5, PostgreSQL 8.4.1) has not enough rights to change this setting:
wiki-forum.de/installationsprobleme-der-version-1-19-0-t347486.htm

I suggest to check first if the necessary rights are available. If this is not possible (sorry I'm not a PostgrSQL user) there should be check at least a check if the setting is necessary. By PostgrSQL 9.1 the default is "ON". So there is not need to check. Lower versions could be checked through the following query:

SHOW standard_conforming_strings;
Ciencia Al Poder (talkcontribs)

You should report a bug, assuming this is still a problem in recent versions of MediaWiki. Note that MediaWiki 1.19 will end its support soon.

Reply to "Possible bug in DatabasePostgres.php"