Last modified: 2012-08-04 20:48:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 27284 - Improper escaping for SQL for Pg
Improper escaping for SQL for Pg
Status: NEW
Product: MediaWiki
Classification: Unclassified
Database (Other open bugs)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
Blocks: postgres
  Show dependency treegraph
Reported: 2011-02-09 19:15 UTC by Mark A. Hershberger
Modified: 2012-08-04 20:48 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Mark A. Hershberger 2011-02-09 19:15:39 UTC
2011-02-09 13:07:13 EST WARNING:  nonstandard use of \\ in a string literal at character 122
2011-02-09 13:07:13 EST HINT:  Use the escape string syntax for backslashes, e.g., E'\\'.
2011-02-09 13:07:13 EST LOG:  statement: INSERT /* SqlBagOStuff::set */ INTO objectcache (keyname,value,exptime) VALUES ('my_wiki:pcache:idoptions:438','E\\215\\315\\016\\2020\\020\\204\\337e\\037\\200\\354"\\362\\263=\\032\\217\\206\\213z/\\320\\300&RH\\213\\211\\206\\360\\356\\266\\032\\342m\\362}3\\231\\232+\\206\\223n\\007s\\225\\321\\000\\037y\\365\\\\2\\214w\\343\\274L\\026\\224\\017\\014(\\311\\223,f\\302\\340\\376\\375H2\\206\\024\\2110\\305\\212J,\\350\\360\\245\\351\\336;\\277fqoP\\302e\\236!FWD7\\331E\\213\\365\\365\\243\\273\\350^ZP\\015\\343>\\274y\\323\\325\\363\\022\\376=(\\315\\304\\253\\374d\\370\\262\\317\\2611n0\\272\\023\\333\\007\\275m\\037','2011-02-10 18:07:13 GMT')
Comment 1 Mark A. Hershberger 2011-02-09 19:20:01 UTC
Similar warnings for \n:

* WARNING:  nonstandard use of escape in a string literal at character 164
* HINT:  Use the escape string syntax for escapes, e.g., E'\r\n'.

Note You need to log in before you can comment on or make changes to this bug.