Problem/Motivation
As of Drupal 8.0-alpha9 release (19. Feb. 2014) it's possible to install Drupal when running PostgreSQL as database backend. Now all remaining issues related to PG need fixing to make all tests pass (temporary) PostgreSQL TestBot.
Now that all major breaking PostgreSQL issues are fixed we can start working at the remaining ones.
Identified test groups with more than one fail or exception:
Identified single test fails:
- #2451749: PostgreSQL: Fix views\src\Tests\GlossaryTest.php
- #2443679: PostgreSQL: Fix taxonomy\Tests\TermTest
Identified test fails caused by bot, e.g not PostgreSQL related
- none, but random exceptions are possible (working on a fix)
Identified open remaining tasks and bugs required to make TestBot passing all tests
Nice to have
- #1349080: node_access breaks any query that has node table appearing twice with a left join
- #1072322: Figure out what to do with string concats
- #2350791: Link, Boolean, Email field tests attempt to query integer entity id with strings such as "manage" or "structure"
- #1148856: Postgres schema doesn't support keylength
- #2057693: PostgreSQL orderBy method adds fields it doesn't need to, leading to fatal errors when the result is used as an insert subquery (This is D7 but may also apply to D8 - needs check)
- #2238253: Add bindValue to a PDO::PARAM_* type in database query (necessary for Postgresql bytea in Select queries)
- #1060476: Multiple issues when PostgreSQL is used with non-public schema
- #1518506: Normalize how case sensitivity is handled across database engines
- #2472709: PostgreSQL: Support JSON and JSONB data types
- #728382: DatabaseSchema_pgsql::changeField() should use "ALTER COLUMN USING expression"
- #1326848: PostgreSQL: Add support for natural joins
- #2491989: PostgreSQL: Use native uuid column type instead of varchar for uuid values
Fixed issues
- #2484539: PostgreSQL: Fix views\Tests\Handler\FieldFieldTest
- #2483903: Fix tests broken by leverage entityDisplay to provide fast rendering for fields
- #2480959: PostgreSQL: Fix views\Tests\Handler\FieldGroupRowsWebTest (again)
- #1668644: PostgreSQL: Impossible to change a field to serial, bigserial, or numeric
- #1031122: system_update_7055 on postgres: returns error "Invalid Input Syntax for type Bytea"
- #2370593: Database::tableExists optimization for PostgreSQL
- #1600670: Cannot query Postgres database that has column names with capital letters
- #2425127: Prevent PostgreSQL from creating duplicated index names within schema
- #1013034: PostgreSQL constraints do not get renamed by db_rename_table()
- #2061879: Remove Schema::copyTable
- #2192877: File content list includes ambiguous column fid in Group By statement
- #1565972: Remove static caching of array in mapConditionOperator()
- #2232425: Database Schema field/column default value is not properly quoted via PDO::quote()
- #571548: truncated identifiers with more than 63 chars, causing Views to break
- #1008128: Do not use a single underscore as table and index separator on PostgreSQL and SQLite
- #1837118: UPDATE foo SET bar=(SELECT...) is not supported
- #2188615: Insert-query with multiple values fails on Postgresql (This is D7. testInsertFieldOnlyDefinintion passes in D8)
- #2181291: Prevent a query from aborting the entire transaction in pgsql
- #2279395: The PostgreSQL backend does not handle NULL values for serial fields gracefully
- #2001350: [meta] Drupal cannot be installed on PostgreSQL
- #2181283: Prevent pgsql driver from trying to implode primary key fields that are defined by an array
- #2181289: Prevent exceptions on missing cache table during cache clear for pgsql
- #2181285: Fix orderBy override in pgsql driver for toolbar menu links
- #2158229: Site search indexing broken on PostgreSQL
- #1622982: PostgreSQL auto-converts column names into lowercase
- #1868972: db_query_temporary() fails to create a table when the SQL has leading whitespace
- #2195815: [meta] Search module tests do not pass on PostgreSQL
- #2195915: Cannot save text filter config using PostgreSQL if Comment is enabled [blocks installation!]
- #2278493: Drop support for unique keys specified as an array of column name and length (breaks PG installation)
- #2158339: Search results page broken on PostgreSQL
- #2254903: PostgreSQL install broken again in HEAD by toolbar module
- #2279363: file_managed.uri should not specify a prefixed unique key
- #998898: Make sure that the identifiers are not more the 63 characters on PostgreSQL
- #1003788: PostgreSQL: PDOException:Invalid text representation when attempting to load an entity with a string or non-scalar ID
- #2357007: PostgreSQL: Fix tests in views_ui test group
- #2356993: PostgreSQL: Fix tests in rest test group
- #2386379: PostgreSQL: Fix tests in book test group
- #2356995: PostgreSQL: Fix tests in shortcut test group
- #2356967: PostgreSQL: Fix tests in comment test group
- #2276809: Solve PostgreSQL DDL slowliness
- #2356971: PostgreSQL: Fix tests in editor test group
- #2356975: PostgreSQL: Fix tests in field test group
- #2424951: PostgreSQL: Fix tests in block_content test group
- #2356991: PostgreSQL: Fix tests in search test group
- #2356983: Fix SystemQueue::claimItem() returns items in the wrong order (resolves locale test failures on PostgreSQL)
- #2356969: PostgreSQL: Fix tests in system test group
- #2356989: PostgreSQL: Fix tests in options test group
- #2386461: PostgreSQL: Fix tests in entity_reference test group
- #2356979: PostgreSQL: Fix tests in file test group
- #2443635: PostgreSQL: Fix config\Tests\ConfigEntityListTest
- #2356987: PostgreSQL: Fix tests in node test group
- #2357001: PostgreSQL: Fix tests in user test group
- #2443681: PostgreSQL: Fix user\Tests\UserAccountLinksTest
- #2443683: PostgreSQL: Fix user\Tests\Views\HandlerFieldRoleTest
- #2443685: PostgreSQL: Fix user\Tests\Views\RelationshipRepresentativeNodeTest
- #2443687: PostgreSQL: Fix user\Tests\Views\HandlerFilterUserNameTest
- #2443627: PostgreSQL: Fix sub-system tests in system test group
- #2443653: PostgreSQL: Fix system\Tests\Condition\ConditionFormTest
- #2443655: PostgreSQL: Fix system\Tests\Entity\EntityReferenceFieldTest
- #2443657: PostgreSQL: Fix system\Tests\Entity\EntityQueryTest
- #2443659: PostgreSQL: Fix system\Tests\Entity\FieldSqlStorageTest
- #2443663: PostgreSQL: Fix system\Tests\Entity\EntityDefinitionUpdateTest
- #2356997: PostgreSQL: Fix tests in taxonomy test group
- #2443673: PostgreSQL: Fix taxonomy\Tests\Views\RelationshipRepresentativeNodeTest
- #2357003: PostgreSQL: Fix tests in views test group
- #2462747: PostgreSQL: Fix views\Tests\ModuleTest
- #2443691: PostgreSQL: Fix views\Tests\Handler\AreaTitleWebTest
- #2443693: PostgreSQL: Fix views\Tests\Handler\ArgumentDateTest
- #2443695: PostgreSQL: Fix views\Tests\Handler\FieldGroupRowsTest
- #2452943: PostgreSQL: Fix views\Tests\Handler\FieldGroupRowsWebTest
- #2443697: PostgreSQL: Fix views\Tests\Handler\HandlerAllTest
- #2443699: PostgreSQL: Fix views\Tests\Plugin\CacheTest
- #2443701: PostgreSQL: Fix views\Tests\ViewExecutableTest
- #2473903: PostgreSQL: Fix entity_reference\Tests\Views\EntityReferenceRelationshipTest
- #2477251: PostgreSQL: Fix Connection::getFullQualifiedTableName()
- #2443647: PostgreSQL: Fix system\Tests\Cache\ChainedFastBackendUnitTest
- #2443651: PostgreSQL: Fix system\Tests\Cache\DatabaseBackendUnitTest
- #2480799: PostgreSQL: Fix views\Tests\Handler\FieldGroupRowsTest (again)
- #2443633: PostgreSQL: Fix locale\Tests\LocaleUpdateTest
- #2477845: PostgreSQL: Fix broken migrate table creation
User interface changes
None.
API changes
None.