That would fix T26607. Approved in RfC T164898: PostgreSQL schema change for consistency with MySQL
Description
Description
Related Objects
Related Objects
- Mentioned In
- T433152: Getting ValueError: pg_escape_string(): Argument #2 ($string) Escaping string failed in /var/www/VHOSTNAME/includes/libs/Rdbms/Database/DatabasePostgres.php on line 972
T361953: Blobs leads to syntax error on Postgres
T313552: Flow's database schema should use BYTEA in postgres
T195807: Fix failing MediaWiki core tests on Postgres database backend
T164898: PostgreSQL schema change for consistency with MySQL - Mentioned Here
- T26607: compressOld.php does not work on Postgres (gzip binary causes syntax error)
T164898: PostgreSQL schema change for consistency with MySQL
T266078: interwikidata.py throws pywikibot.data.api.APIError: param-missing: Either provide the Item "ids" or pairs of "sites" and "titles" for corresponding page
Event Timeline
Comment Actions
There is one skipped postgres test with two provides related to this
00:16:35 There was 1 error:
00:16:35
00:16:35 1) MediaWiki\Tests\Storage\SqlBlobStoreTest::testSimpleStoreGetBlobSimpleRoundtripWindowsLegacyEncodingGzip with data set #1 ('someText')
00:16:35 gzinflate(): data error
00:16:35
00:16:35 /workspace/src/includes/Storage/SqlBlobStore.php:592
00:16:35 /workspace/src/includes/Storage/SqlBlobStore.php:522
00:16:35 /workspace/src/includes/Storage/SqlBlobStore.php:431
00:16:35 /workspace/src/includes/Storage/SqlBlobStore.php:282
00:16:35 /workspace/src/includes/libs/objectcache/wancache/WANObjectCache.php:1689
00:16:35 /workspace/src/includes/libs/objectcache/wancache/WANObjectCache.php:1518
00:16:35 /workspace/src/includes/Storage/SqlBlobStore.php:287
00:16:35 /workspace/src/tests/phpunit/includes/Storage/SqlBlobStoreTest.php:432
00:16:35 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:452
00:16:35 === Logs generated by test case
00:16:35 [objectcache] [debug] MainWANObjectCache using store {class} {"class":"EmptyBagOStuff"}
00:16:35 ===
00:16:35 There were failures:
00:16:35 14) MediaWiki\Tests\Storage\SqlBlobStoreTest::testSimpleStoreGetBlobSimpleRoundtripWindowsLegacyEncodingGzip with data set #2 ('söme\ntäxt')
00:16:35 Failed asserting that two strings are identical.
00:16:35 --- Expected
00:16:35 +++ Actual
00:16:35 @@ @@
00:16:35 -'söme
00:16:35 -täxt'
00:16:35 +'sϖmooooY'