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 fails:
- none! :)
Identified test fails caused by bot, e.g not PostgreSQL related
- none, but random exceptions are possible
Identified open remaining tasks and bugs required to make TestBot passing all tests
- currently none :)
Nice to have
- #2509296: PostgreSQL: Re-think current PDO::ATTR_EMULATE_PREPARES setting
- #2464481: PostgreSQL: deal with case insensitivity
- #1349080: node_access filters out accessible nodes when node is left joined
- #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 on a unique index
- #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 arguments
- #1060476: Multiple issues when PostgreSQL is used with non-public schema
- #2472709: PostgreSQL: Support JSON data type
- #728382: DatabaseSchema_pgsql::changeField() should use "ALTER COLUMN USING expression"
- #1326848: PostgreSQL: Add support for natural joins
- #2491989: [PP-1] Use the 'uuid' database schema type (with native PostgreSQL implementation) for UUID fields
Fixed issues
- #2504417: Fix Drupal\Tests\migrate\Unit\MigrateSqlIdMapTest::testGetQualifiedMapTablePrefix()
- #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: postgres changeField() is unable to convert to bytea column type correctly
- #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: Identifiers longer than 63 characters are truncated, causing Views to break on Postgres
- #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
- #2451749: PostgreSQL: Fix views\src\Tests\GlossaryTest.php
- #2494415: PostgreSQL: Fix migrate_drupal\Tests\d6\MigrateTaxonomyTermTest
- #2443679: PostgreSQL: Fix taxonomy\Tests\TermTest
- #2477853: PostgreSQL: Add support for reserved field/column names
User interface changes
None.
API changes
None.
Comment | File | Size | Author |
---|---|---|---|
#188 | Screen Shot 2015-07-01 at 8.49.44 AM.png | 45.16 KB | webchick |
Comments
Comment #1
bzrudi71 CreditAttribution: bzrudi71 commentedComment #2
bzrudi71 CreditAttribution: bzrudi71 commentedAdded: PDOException:Invalid text representation when attempting to load an entity with a string or non-scalar ID
Note, this problem exists currently also outside of entity context. There are a couple of exceptions in PostgreSQL logs regarding string -> int queries...
Comment #3
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #2158229: Site search indexing broken on PostgreSQL
Comment #4
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #2158339: Search results page broken on PostgreSQL as a follow up of #2158229: Site search indexing broken on PostgreSQL
Comment #5
bzrudi71 CreditAttribution: bzrudi71 commentedComment #6
bzrudi71 CreditAttribution: bzrudi71 commentedAs promised, here are the results of PG local testing. All in all absolutely not to bad as we only have two exceptions in the database tests themselves.
Some notes so... first of all some tests (8 in detail) failed to start because of to long table names (63chars limit in PG), mostly entity related. Second 90% of all failing tests are related to broken STRING -> INT comparison querys caused by the entity query builder. So if this is fixed nearly all/most tests will pass :-)
Unfortunately I'm off for 4 weeks and can't work on that before February, so feel free to pick and fix some issues already.
Comment #7
bzrudi71 CreditAttribution: bzrudi71 commentedComment #8
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #2188615: Insert-query with multiple values fails on Postgresql
Comment #9
bzrudi71 CreditAttribution: bzrudi71 commentedComment #10
bzrudi71 CreditAttribution: bzrudi71 commentedComment #11
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #998898: Make sure that the identifiers are not more the 63 characters on PostgreSQL
Comment #12
mradcliffeDiscovered and created issue #2192877: File content list includes ambiguous column fid in Group By statement regarding the file listing page and the file identifier (fid).
Comment #13
bzrudi71 CreditAttribution: bzrudi71 commentedremoved #911352: Document that foreign keys may not be used by all drivers (Never ending story and not really needed to make D8 work...)
Comment #14
bzrudi71 CreditAttribution: bzrudi71 commentedcleanups...
Comment #15
bzrudi71 CreditAttribution: bzrudi71 commentedComment #16
bzrudi71 CreditAttribution: bzrudi71 commentedComment #17
bzrudi71 CreditAttribution: bzrudi71 commentedComment #18
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #2195915: Cannot save text filter config using PostgreSQL if Comment is enabled [blocks installation!]
Comment #19
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #2057693: PostgreSQL orderBy method adds fields it doesn't need to, leading to fatal errors when the result is used as an insert subquery
Comment #20
bzrudi71 CreditAttribution: bzrudi71 commentedMarking #2195815: [meta] Search module tests do not pass on PostgreSQL and #2195915: Cannot save text filter config using PostgreSQL if Comment is enabled [blocks installation!] as closed - yay!
Comment #21
mradcliffeI have been focusing on other issues and modules recently so I haven't cycled back to #2181291: Prevent a query from aborting the entire transaction in pgsql yet. I'd probably at least get around to implementing the rest of the query classes at the end of the month @ midcamp.
Comment #22
mradcliffeAdded #2061879: Remove Schema::copyTable to summary.
Comment #23
danblack CreditAttribution: danblack commentedComment #24
mradcliffeI've been working on a vagrant repository with both mysql and postgresql installed for core developers. I'm not familiar enough with puppet or ruby to write my own so I forked a puphpet repo and started hacking away. I finally got a box up and running after fixing some puppetlabs postgresql issues. I still need to hack in postgresql configuration optimization based on VM memory. Currently spins up a 4GB VM.
Comment #25
andypostFiled #2276809: Solve PostgreSQL DDL slowliness that's because #2160433: [policy, no patch] Move PostgreSQL driver support into contrib
Comment #26
stefan.r CreditAttribution: stefan.r commentedD8 currently doesn't install on PostgreSQL because of #2279395: The PostgreSQL backend does not handle NULL values for serial fields gracefully and #2279363: file_managed.uri should not specify a prefixed unique key.
Comment #27
stefan.r CreditAttribution: stefan.r commentedComment #28
webchickThanks folks, for all of your work on these issues!
It'd be great for some or all of you who are infrastructure-inclined to check out https://groups.drupal.org/drupal-org-testing-infrastructure and https://www.drupal.org/project/drupalci. This is the future of where testbot is going, and the architecture upon which multiple database testing support will live. AFAIK there are Docker images and what not to allow you set this up locally in the meantime.
Comment #29
ricardoamaro CreditAttribution: ricardoamaro commentedI created a site with live tests that will run every 6 hours fetching the latest Drupal8 and running it against a PostgreSQL installation.
http://testbot-pgsql.drupal-pt.org
Feel free to make suggestions.
Comment #30
bzrudi71 CreditAttribution: bzrudi71 commented@ricardoamaro Great to finally see some good progress in PG testing :-) Looking at the logs it seems many test failures are caused by already identified issues. Namely (by priority):
#2279395: The PostgreSQL backend does not handle NULL values for serial fields gracefully
#1003788: PostgreSQL: PDOException:Invalid text representation when attempting to load an entity with a string or non-scalar ID
#998898: Make sure that the identifiers are not more the 63 characters on PostgreSQL
This should help with passing many more tests. However, there are many more exceptions in the log than I have locally. One thing I noticed is related to concurrency, in other words some tests fail when setting concurrency to any value higher than 1. Guess we have to spend a closer look on that. If I find the time I will run the docker image locally to trace this down.
Thanks again!
Moving: #2279363: file_managed.uri should not specify a prefixed unique key to fixed
Comment #31
bzrudi71 CreditAttribution: bzrudi71 commentedComment #32
ricardoamaro CreditAttribution: ricardoamaro commentedComment #33
ricardoamaro CreditAttribution: ricardoamaro commentedHello all,
I've updated the URL above and would like to update that from now on I'll be keeping record of each build downloadable from the site so everyone can check the progress. If you have any suggestion please send me a direct contact message via d.o
Really looking forward that this improves testing!
Comment #34
mradcliffeAdded issue with installing Drupal 8 on standard profile again.
Comment #35
mradcliffeCan't reproduce the issue I filed a day or so ago.
Comment #36
mradcliffeAlthough @ricardoamaro's test bot seems to be reproducing that issue on non-migrate tests. It can't create a table because it already exists. This may be because the bot isn't tearing down the schema properly, which I think was my issue too. Or it could be unrelated of course.
Comment #37
steinmb CreditAttribution: steinmb commentedJust added #2325421: Installer broken on PostgreSQL (again)
Comment #38
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2279395: The PostgreSQL backend does not handle NULL values for serial fields gracefully to fixed section...
Comment #39
bzrudi71 CreditAttribution: bzrudi71 commented#2181291: Prevent a query from aborting the entire transaction in pgsql moved to fixed - yay!
Comment #40
mradcliffeLinked to issue #1837118: UPDATE foo SET bar=(SELECT...) is not supported.
Comment #41
ricardoamaro CreditAttribution: ricardoamaro commentedAll core interations running on http://coreresults.drupal-pt.org/
Comment #42
mradcliffeRemoved #2188615: Insert-query with multiple values fails on Postgresql as I could not reproduce it in Drupal\system\Tests\Database\InsertTest::testInsertFieldOnlyDefinintion() which seems to insert multiple values just fine and asserts such.
Comment #43
mradcliffeComment #44
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1837118: UPDATE foo SET bar=(SELECT...) is not supported to fixed section.
Comment #45
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #1060476: Multiple issues when PostgreSQL is used with non-public schema to testbot breaking issues section. I found some migrate_drupal tests failing because of that ;-(
Comment #46
bzrudi71 CreditAttribution: bzrudi71 commentedComment #47
stefan.r CreditAttribution: stefan.r commentedComment #48
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1008128: Do not use a single underscore as table and index separator on PostgreSQL and SQLite to fixed section.
Comment #49
bzrudi71 CreditAttribution: bzrudi71 commentedMoving #571548: Identifiers longer than 63 characters are truncated, causing Views to break on Postgres out of the way. Seems fixed in the meanwhile and it doesn't seem we have any failing tests because of this...
Comment #50
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2232425: Database Schema field/column default value is not properly quoted via PDO::quote() to fixed!
Comment #51
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1565972: Remove static caching of array in mapConditionOperator() to fixed. Already committed and just open for discussion...
Comment #52
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1565972: Remove static caching of array in mapConditionOperator() to fixed. Already committed and just open for discussion...
Comment #53
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1565972: Remove static caching of array in mapConditionOperator() to fixed. Already committed and just open for discussion...
Comment #54
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1148856: Postgres schema doesn't support keylength on a unique index to nice to have section as it doesn't seem to break any tests currently...
Comment #55
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #567148: Use ONLY_FULL_GROUP_BY for MySQL out of the queue, this is MySQL only and not a PostgreSQL issue.
Comment #56
stefan.r CreditAttribution: stefan.r commentedComment #57
bzrudi71 CreditAttribution: bzrudi71 commentedComment #58
bzrudi71 CreditAttribution: bzrudi71 commentedHere we go. Created sub issues of all failing test groups ;-)
Comment #59
bzrudi71 CreditAttribution: bzrudi71 commentedMoving #2192877: File content list includes ambiguous column fid in Group By statement over to required patches section as it breaks tests discovered in #2356979: PostgreSQL: Fix tests in file test group
Comment #60
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2357007: PostgreSQL: Fix tests in views_ui test group to fixed.
Comment #61
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1600670: Cannot query Postgres database that has column names with capital letters to testbot required patches section...
Comment #62
bzrudi71 CreditAttribution: bzrudi71 commentedComment #63
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2356993: PostgreSQL: Fix tests in rest test group out of the way, as fails were not related to PostgreSQL. The root cause is the docker web container not supporting application/json mime type...
Comment #64
bzrudi71 CreditAttribution: bzrudi71 commentedComment #65
bzrudi71 CreditAttribution: bzrudi71 commentedAdded #2386461: PostgreSQL: Fix tests in entity_reference test group
Comment #66
chx CreditAttribution: chx commentedLet me note https://www.drupal.org/node/2306083 as well. Some problems might be easier solved by swapping a whole service and using a different schema and PostgreSQL features et al than just changing a query.
Comment #67
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2386379: PostgreSQL: Fix tests in book test group over to fixed. No longer an issue in current HEAD!
Comment #68
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2061879: Remove Schema::copyTable to required section (one database test fails with 'not implemented' error).
Comment #69
stefan.r CreditAttribution: stefan.r commented@bzrudi71 does it seem likely we'll get all tests to pass on PostgreSQL for D8 core over the next months?
If so it could be cool to start thinking about contrib and use Berdir's D8 contrib test script to compare MySQL test results for 8.x contrib against PostgreSQL test results. See https://github.com/Berdir/d8modulestatus and http://d8ms.worldempire.ch/
Comment #70
bzrudi71 CreditAttribution: bzrudi71 commented@stefan.r
Hopefully yes, as we are as close as never before. But that depends mainly from the time of @mradcliffe and me as currently no one else is working on the remaining issues.
I already spend hours and hours to trace down a problem that affects many of the currently failing test but with no luck so far. That is a - fix one, fix many - thing.
I just did a fresh testbot run today that I will attach to give an impression of where we stand. Some notes so..
So we are on the right way :-)
Regarding the scripts, I can do a setup on my spare server, just not sure when I have the time. But it's on my agenda now!
Comment #71
mradcliffeI attended the Modernizing Testbot Initiative meeting the other night. One of the immediate tasks for that initiative is to create the Ubuntu Docker boxes. @dasrecht volunteered to do this, and I mentioned I could help test.
I am starting to shift back to core development after focusing on contrib (after having ignored it for a while).
Comment #72
bzrudi71 CreditAttribution: bzrudi71 commented@mradcliffe great to see you back on track!
While looking at the remaining fails I noticed that around 50% of the fails in the test groups are related to views. So #2357003: PostgreSQL: Fix tests in views test group should have attention first. There is a problem within the views sql query builder. For example I found this in taxonomy views tests:
SQLSTATE[42P01]: Undefined table: 7 ERROR: invalid reference to FROM-clause entry for table "taxonomy_term_field_data" LINE 12: ...rm_data_node__taxonomy_term_field_dataINNER.tid = taxonomy_t... ^ HINT: Perhaps you meant to reference the table alias "taxonomy_term_data_node__taxonomy_term_field_datainner".
And with more info:
Wonder how that could pass in MySQL?
Comment #73
bzrudi71 CreditAttribution: bzrudi71 commentedUpdated infos for test groups.
Comment #74
bzrudi71 CreditAttribution: bzrudi71 commentedNo more fails in shortcut tests in HEAD, moving #2356995: PostgreSQL: Fix tests in shortcut test group over to fixed section.
Comment #75
bzrudi71 CreditAttribution: bzrudi71 commentedGreat! Now that #2356967: PostgreSQL: Fix tests in comment test group is in, we have 100% pass in comment tests... (moved to fixed section)
Comment #76
bzrudi71 CreditAttribution: bzrudi71 commented#2192877: File content list includes ambiguous column fid in Group By statement is in. Moving
to fixed.
Comment #77
webchickGreat work! Keep it up. :)
Comment #78
bzrudi71 CreditAttribution: bzrudi71 commentedI setup a (simple) PostgreSQL testbot on a spare server that runs all tests once a day against HEAD. This should help us to keep better track of PostgreSQL issues. And the first that I noticed is a new failing test in block_content. So created #2424951: PostgreSQL: Fix tests in block_content test group...
Comment #79
bzrudi71 CreditAttribution: bzrudi71 commentedJust discovered failing tests because of INDEX ALREADY EXISTS, so opened #2425127: Prevent PostgreSQL from creating duplicated index names within schema to fix that globally as this happens in various test groups.
Comment #80
bzrudi71 CreditAttribution: bzrudi71 commentedComment #81
catchThis is critical unless we do #2160433: [policy, no patch] Move PostgreSQL driver support into contrib, so marking as such.
Comment #82
catchComment #83
bzrudi71 CreditAttribution: bzrudi71 commented#2424951: PostgreSQL: Fix tests in block_content test group is in, so moved to fixed. There is consensus to remove copyTable #2061879: Remove Schema::copyTable, so moved out of needed section.
Comment #84
mradcliffe@bzrudi71: on your simple testbot site the log has "
Fatal error: Allowed memory size of 335544320 bytes exhausted (tried to allocate 83 bytes) in /var/www/core/scripts/run-tests.sh on line 1156" at the bottom. Is that in reference to the tests as a whole or one specific test?
Comment #85
bzrudi71 CreditAttribution: bzrudi71 commented@mradcliffe: This is just with DCI_TESTGROUPS = --all where simpletest runs out of memory for the results reporting. It works for single test groups so... I already suggested to write the results in chunks and not in a whole but can't find the issue. But it's a known issue, please see #2347493: Writing test results leads to FATAL because of memory_limit
Comment #86
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #1013034: PostgreSQL constraints do not get renamed by db_rename_table() to required section, needed to make Database SchemaTest pass.
Comment #87
jaredsmith CreditAttribution: jaredsmith commentedComment #88
bzrudi71 CreditAttribution: bzrudi71 commented#2356991: PostgreSQL: Fix tests in search test group is in, moved to fixed!
Comment #89
xjm@catch, I guess we should downgrade #2160433: [policy, no patch] Move PostgreSQL driver support into contrib to major then and tag it "Revisit before release"?
Comment #90
jaredsmith CreditAttribution: jaredsmith commentedComment #91
bzrudi71 CreditAttribution: bzrudi71 commentedComment #92
jaredsmith CreditAttribution: jaredsmith commentedIssue affecting locale tests (and some of the system tests) committed, updating issue summary.
Comment #93
jaredsmith CreditAttribution: jaredsmith commentedMoving system test group to fixed issues.
Comment #94
jaredsmith CreditAttribution: jaredsmith commentedMoving the 'options" test group to fixed, as a recent commit fixed the failing tests in that test group.
Comment #95
jaredsmith CreditAttribution: jaredsmith commentedMoving 'entity_reference' test group to fixed, as a recent commit fixed the failing tests in that test group.
Comment #96
stefan.r CreditAttribution: stefan.r commentedComment #97
mradcliffeI've had a terrible cold since last Friday so I haven't been able to make any progress.
I noticed that there may be some new test failures introduced by recent Drupal 8 changes after looking at @bzrudi71's testbot results.
Specifically aggregator module has a test fail with exception, and a new test AddFeedTest
CommentPagerTest now has fails when it didn't before.
And I think there are several other new test failures. So we need to bisect, and raise visibility for the issues that caused the regressions and create follow-up issues.
Comment #98
jaredsmith CreditAttribution: jaredsmith commentedI've re-run the tests on the Aggregator module, both using the drupalci testing infrastructure and manually running simpletest from my browser. I'm using the following settings:
DCI_PHPVERSION=5.4
DCI_DRUPALBRANCH=8.0.x
DCI_TESTGROUPS=aggregator
DCI_UPDATEREPO=true
DCI_DBTYPE=pgsql
DCI_DBVER=9.3
I've attached the results, showing that all the tests pass.
Comment #99
bzrudi71 CreditAttribution: bzrudi71 commented@all: I'm sorry my fault! The test was run on my experimental speed improved bot code, so please forget the new fails and exceptions ;-) As soon as #1600670: Cannot query Postgres database that has column names with capital letters is in and we filter out random bot fails (like CommentPagerTest) and the fails that also occur with MySQL (StyleSerializerTest, SessionHttpsTest) we are that low in failing tests that we can create an issue for each single one. So please, next step forward #1600670: Cannot query Postgres database that has column names with capital letters :-)
Comment #100
bzrudi71 CreditAttribution: bzrudi71 commentedIS cleanup...
Comment #101
mradcliffeConfirmed a couple of new test failures that popped up recently. I think only comment module may need a follow-up issue depending on the root cause.
Comment #102
bzrudi71 CreditAttribution: bzrudi71 commentedNice, #1600670: Cannot query Postgres database that has column names with capital letters is in and fixed many of the remaining fails and exceptions! We have 100% pass in #2356979: PostgreSQL: Fix tests in file test group now, so moving to fixed. Created #2443627: PostgreSQL: Fix sub-system tests in system test group to have better overview of failing system sub-tests.
Comment #103
bzrudi71 CreditAttribution: bzrudi71 commentedListed each single test failing to get better overview. We need separate issues for each test now.
Comment #104
bzrudi71 CreditAttribution: bzrudi71 commentedCreated #2443633: PostgreSQL: Fix locale\Tests\LocaleUpdateTest and #2443635: PostgreSQL: Fix config\Tests\ConfigEntityListTest.
Comment #105
bzrudi71 CreditAttribution: bzrudi71 commentedDoh, all sub-issues created - happy hacking ;-)
Comment #106
bzrudi71 CreditAttribution: bzrudi71 commentedMoved out #2350791: Link, Boolean, Email field tests attempt to query integer entity id with strings such as "manage" or "structure" of required section and into nice to have...
Comment #107
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2443635: PostgreSQL: Fix config\Tests\ConfigEntityListTest to fixed, thanks all!
Comment #108
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2356987: PostgreSQL: Fix tests in node test group to fixed, we have 100% pass now in node tests - thanks all!
Comment #109
mradcliffe> Drupal\system\Tests\Installer\DistributionProfileTest 15 passes 9 fails
I cannot reproduce this new test fail locally (via vagrant) this morning. I'll wait until tomorrow morning to see if it was just a random fail or not.
Comment #110
bzrudi71 CreditAttribution: bzrudi71 commentedRe #109: Yes, this is the first time I see Drupal\system\Tests\Installer\DistributionProfileTest fail. Can't reproduce locally, nor with bot so let's keep an eye on this before creating an issue.
Comment #111
bzrudi71 CreditAttribution: bzrudi71 commentedAdding #1518506: Normalize how case sensitivity is handled across database engines. Would have saved me a hour of debug if that one had the PostgreSQL tag set ;-) This is the root cause for #2443679: PostgreSQL: Fix taxonomy\Tests\TermTest to fail...
Comment #112
mradcliffeHey bzrudi, do you want to embed a d3.js graph on your bot page? ;-)
Comment #113
bzrudi71 CreditAttribution: bzrudi71 commentedNew fails in views/src/Tests/GlossaryTest.php, caused by #2381217: Views should set cache tags on its render arrays, and bubble the output's cache tags to the cache items written to the Views output cache.
Additional new fails in:
node\Tests\NodeListBuilderTest
system\Tests\Entity\EntityListBuilderTest
Caused by #2445743: Allow views base tables and entity types to define additional cache contexts, but that one was reverted meanwhile.
Comment #114
mradcliffeI think that both are probably related to #2443651: PostgreSQL: Fix system\Tests\Cache\DatabaseBackendUnitTest because the that recent issue was regarding adding cache tag support to views.
Comment #115
bzrudi71 CreditAttribution: bzrudi71 commentedCreated #2451749: PostgreSQL: Fix views\src\Tests\GlossaryTest.php.
Comment #116
bzrudi71 CreditAttribution: bzrudi71 commentedAdding #2370593: Database::tableExists optimization for PostgreSQL to fixed.
Comment #117
bzrudi71 CreditAttribution: bzrudi71 commentedHouse-cleaning. Moved #1072322: Figure out what to do with string concats to fixed as no longer an issue for D8.
Comment #118
bzrudi71 CreditAttribution: bzrudi71 commentedUps, now moved the right issue ;-)
Comment #119
bzrudi71 CreditAttribution: bzrudi71 commentedNext step to the best pg-driver ever, #1668644: PostgreSQL: Impossible to change a field to serial, bigserial, or numeric is in :-)
Comment #120
mradcliffeSo we have 8 issues remaining for test failures and exceptions + migrate + testbot failures (all database drivers).
When the testbot reaches 19 fails, we know we've done it and can start opening HEAD BROKEN Critical issues if it ever goes up. :-)
Comment #121
daffie CreditAttribution: daffie commentedThe two tests: rest\Tests\Views\StyleSerializerTest and system\Tests\Session\SessionHttpsTest are not testbot problems, but tests that fail when there is no parent site available. If you run the tests with no settings.php file and an empty database the two tests fail. No idea why.
Comment #122
bzrudi71 CreditAttribution: bzrudi71 commentedNew fails and an exception in:
However, I ran both tests several times locally and they always pass. Guess theses are randoms as both do some kind of order by check. If we have fails again in some of the next bot runs we need to open an issue I think.
Comment #123
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2357001: PostgreSQL: Fix tests in user test group to fixed. There is nothing left to do. The last exception in #2443685: PostgreSQL: Fix user\Tests\Views\RelationshipRepresentativeNodeTest will be fixed by #2443699: PostgreSQL: Fix views\Tests\Plugin\CacheTest on commit :-) Issues fixed:
Comment #124
bzrudi71 CreditAttribution: bzrudi71 commentedHouse-cleaning! Fixed issues in #2443627: PostgreSQL: Fix sub-system tests in system test group:
Fixed issues in #2356997: PostgreSQL: Fix tests in taxonomy test group:
Comment #125
bzrudi71 CreditAttribution: bzrudi71 commentedClosing #2357003: PostgreSQL: Fix tests in views test group (only one broken test left)
Fixed issues:
Comment #126
bzrudi71 CreditAttribution: bzrudi71 commentedOpened: #2464481: PostgreSQL: deal with case insensitivity - happy hacking ;-)
Comment #127
ricardoamaro CreditAttribution: ricardoamaro commentedFYI the old coreresults sites using the testbot are gone and we should move on to use the results project.
Comment #128
mradcliffeAdded issues related to drupalci_testbot.
Comment #129
mradcliffeDrupal\comment\Tests\CommentAdminTest 236 passes 1 exceptions
I ran CommentAdminTest locally, and was not able to reproduce this exception
239 passes, 0 fails, 0 exceptions, 63 debug messages
Edit: Seems like a random fail. Didn't show up today.
Comment #130
stefan.r CreditAttribution: stefan.r commentedThat is a web test, are you running your webserver on PHP7 as well or just the CLI?Oops wrong issue!Comment #131
xjm(Updating certain "Needs D8 critical triage" issues to a less misleading tag name.)
Comment #132
bzrudi71 CreditAttribution: bzrudi71 commentedAdding some new issues into nice to have section and removed one identified bot fail that was fixed meanwhile in HEAD.
Comment #133
mradcliffeDrupal\entity_reference\Tests\Views\EntityReferenceRelationshipTest 78 passes 8 fails
I can't find the regression in the last 3 days of commits at first glance. Nothing seems to be related to entity reference or views, but the issue has something to do with sorting and entity reference fields in the view (or the test is bad and is putting the wrong value in the entity reference field).
Drupal\system\Tests\Installer\InstallerEmptySettingsTest 13 passes 9 fails
I could not reproduce this one locally: 16 passes, 0 fails, 0 exceptions, 7 debug messages, though the total pass+fail count is different?
Comment #134
mradcliffeCreated #2473903: PostgreSQL: Fix entity_reference\Tests\Views\EntityReferenceRelationshipTest.
Comment #135
mradcliffe- Drupal\system\Tests\Bootstrap\DrupalSetMessageTest is no longer passing (0 passes, 0 fails, 1 exception = bad) and throws an exception.
- Drupal\system\Tests\Database\BasicSyntaxTest is throwing an exception.
I mentioned this in the closed issue regarding FieldGropRowsTest, but there are fails on these tests again. Should a new issue be created?
- Drupal\views\Tests\Handler\FieldGroupRowsTest
- Drupal\views\Tests\Handler\FieldGroupRowsWebTest
Comment #136
bzrudi71 CreditAttribution: bzrudi71 commented@mradcliffe, thanks for taking track of new issues ;-) I'm currently low on time but think I can have a look at the broken tests over the weekend, let's see...
Comment #137
bzrudi71 CreditAttribution: bzrudi71 commentedNice, #2473903: PostgreSQL: Fix entity_reference\Tests\Views\EntityReferenceRelationshipTest is already fixed! Moving out of the way :-)
Comment #138
bzrudi71 CreditAttribution: bzrudi71 commentedCreated #2477251: PostgreSQL: Fix Connection::getFullQualifiedTableName().
Comment #139
mradcliffeThanks, @bzrudi72.
I didn't have much time today (this morning) to create the issues after I looked at your testbot's results. It probably depends on how tired I am tonight.
Comment #140
webchickThis isn't a direct dependency, but cross-linking #2477413: Increase minimum version requirement for Postgres to 9.1.2 for folks from here to chime in on.
Over in #2467925: [plan] Remove blockers to the "minimum viable" state of DrupalCI to ship Drupal 8 RC1 the DrupalCI folks are recommending 9.1.2 as the version of pgsql we test against, and we'd want to raise core's minimum to that if that's the result. Arguments pro/con welcome.
Comment #141
xjmI posted #2477413: Increase minimum version requirement for Postgres to 9.1.2 based on discussion about Postgres testbot support in #2467925: [plan] Remove blockers to the "minimum viable" state of DrupalCI to ship Drupal 8 RC1. It would be great if some of the postgres contributors active here could weigh in on whether the proposed minimum version increase is a good idea or not. Thanks!
Comment #142
bzrudi71 CreditAttribution: bzrudi71 commentedDrupal\system\Tests\Bootstrap\DrupalSetMessageTest passes locally and on latest bot run. I'm pretty sure the exception was caused by the random SQLite database is locked errors we see from time to time...
Anyway, we need to open issues for:
- Drupal\views\Tests\Handler\FieldGroupRowsTest
- Drupal\views\Tests\Handler\FieldGroupRowsWebTest
They are failing locally also because of an ordering problem. This is the second or third time we have to fix those :-(
Comment #143
amateescu CreditAttribution: amateescu for Drupal Association commentedYou won't be seeing that any longer, it was fixed by #2465633: Bring back the custom Statement class for the SQLite driver :)
Comment #144
bzrudi71 CreditAttribution: bzrudi71 commented#2477251: PostgreSQL: Fix Connection::getFullQualifiedTableName() is committed! (Required for #2356985: PostgreSQL: Fix tests in migrate_drupal test group)
Comment #145
xjmAlso see: #567148: Use ONLY_FULL_GROUP_BY for MySQL.
Comment #146
stefan.r CreditAttribution: stefan.r commentedComment #147
bzrudi71 CreditAttribution: bzrudi71 commentedOpened #2480799: PostgreSQL: Fix views\Tests\Handler\FieldGroupRowsTest (again) because with have failing tests again.
Comment #148
bzrudi71 CreditAttribution: bzrudi71 commentedAdding another nice to have issue #1326848: PostgreSQL: Add support for natural joins as this may affect contrib...
Comment #149
bzrudi71 CreditAttribution: bzrudi71 commentedAnd another one that I have overseen #2480959: PostgreSQL: Fix views\Tests\Handler\FieldGroupRowsWebTest (again).
But happy to see #2443651: PostgreSQL: Fix system\Tests\Cache\DatabaseBackendUnitTest just committed which does fix #2443647: PostgreSQL: Fix system\Tests\Cache\ChainedFastBackendUnitTest also :) Thanks all!
Comment #150
mradcliffe11 new fails from a critical commit on 5/3 #1867518: Leverage entityDisplay to provide fast rendering for fields. We didn't see it until this morning because of the issue with the testbot yesterday.
Comment #151
dawehner@mradcliffe
So yeah please open up a new dedicated issue.
Comment #152
mradcliffeOpened #2483903: Fix tests broken by leverage entityDisplay to provide fast rendering for fields.
Comment #153
bzrudi71 CreditAttribution: bzrudi71 commentedWe have overseen another one, opened #2484539: PostgreSQL: Fix views\Tests\Handler\FieldFieldTest. As this also fails SQLite I pinged @amateescu for feedback.
Comment #154
webchickLet's consolidate issues. Folding in #2160433: [policy, no patch] Move PostgreSQL driver support into contrib as a duplicate.
And since this is now captured as part of #2485119: [meta] The Drupal 8.0.0-rc1 Release Checklist, downgrading.
Comment #155
webchickBtw, please don't interpret that title change as in any way admonishment of the fantastic efforts that are going on here. We are close! Just trying to get a better handle on what's truly blocking D8's release.
Comment #156
webchickLet's do what I said, shall we? :P
Comment #157
mradcliffe@bzrudi71, I've had success setting up the testbot on the origin/dev branch with the following config set. Since it's in origin/dev the containers still need to be built manually. I think it may be time to switch if you have some time. And it looks like amateescu has support for sqlite in now too in origin/dev from #2484103: Add support for sqlite database testing. It may be in origin/production on Monday or Tuesday (PDT).
sudo ./containers/database/pgsql-9.1/run-server.sh
sudo ./drupalci run simpletest
Comment #158
mradcliffeThose commits are in origin/production so the containers should be rebuilt to pull from dockerhub with the drupalci init commands.
Comment #159
bzrudi71 CreditAttribution: bzrudi71 commented@mradcliffe, great news! :) Unfortunately I will be out of office in some hours until the end of the week, sorry. So I think it's best to let the legacy bot do it's job until I have the time (hopefully over the weekend) to test and make the switch. Anyway, will do my best to make that happen ASAP!
Comment #160
Drupa1ish CreditAttribution: Drupa1ish commentedFollowing the good example of @amateescu (like in #157 and assoc.drupal.org/d8-accelerate-awarded-grants) , @bzrudi71 @mradcliffe why don't you apply for a D8 accelerate grant?
Comment #161
mradcliffeMoving fixed issues.
Comment #162
jaredsmith CreditAttribution: jaredsmith at Bluehost commentedIssue #2480799: PostgreSQL: Fix views\Tests\Handler\FieldGroupRowsTest (again) has been committed and closed :-)
Moving it to the "Fixed Issues" section.
Comment #163
jaredsmith CreditAttribution: jaredsmith at Bluehost commentedMoving issue #2443633: PostgreSQL: Fix locale\Tests\LocaleUpdateTest to the "fixed" section, since we're not able to reproduce it any more.
Comment #164
bzrudi71 CreditAttribution: bzrudi71 commentedI'm working since yesterday to make the switch from legacy PostgreSQL and SQLite bots over to the new drupalci ones. So please DON'T PANIC :) if you see broken test runs around. There are also random exceptions in the new containers no matter of the underlying database, but I think with the help of @amateescu we will know the reason soon :)
Comment #165
bzrudi71 CreditAttribution: bzrudi71 commentedHopefully the bots are back on track now, we will see tomorrow ;) Updated the IS a bit to reflect the new bots...
Comment #166
mradcliffeThanks for updating the bots. I hope the switch wasn't too bad on an actual production system.
Edit: Also just noticed the test bot run time decreased from 3 hours to 1 hour.
Comment #167
webchickThat's great news! Thanks so much for updating the testbots, bzrudi71! :D
Comment #168
bzrudi71 CreditAttribution: bzrudi71 commentedAnother one moved to fixed section (-64 exceptions!) #2477845: PostgreSQL: Fix broken migrate table creation.
Comment #169
erik.erskine CreditAttribution: erik.erskine as a volunteer commentedAdding #2491989: [PP-1] Use the 'uuid' database schema type (with native PostgreSQL implementation) for UUID fields to the nice to have section for visibility.
Comment #170
webchickWe spoke about this on our branch maintainer call today. While there's no way to know when we're going to hit the "~5 critical issue" threshold, the DA is in the process of planning a D8 Accelerate sprint from July 2 - 8. So July 1 is a logical date to revisit this and any other "fix it or nix it" issues. (If we still have a ridiculous number of criticals at that point, we'll move the evaluation date.)
Comment #171
xjmTagging as @Mixologic did with #2296557: [policy] Require PHP 5.5.
Comment #172
bzrudi71 CreditAttribution: bzrudi71 commentedRefactoring IS to list all remaining fails for better overview.
Comment #173
daffie CreditAttribution: daffie commentedRemoved #2451749: PostgreSQL: Fix views\src\Tests\GlossaryTest.php from the needs to be fixed list.
Comment #174
bzrudi71 CreditAttribution: bzrudi71 commentedMoved #2494415: PostgreSQL: Fix migrate_drupal\Tests\d6\MigrateTaxonomyTermTest to fixed. Yay, just 2 open issues on our way to 100% pass left :)
Comment #175
webchickGo team, go!! :D
Comment #176
daffie CreditAttribution: daffie commentedAdd #2504417: Fix Drupal\Tests\migrate\Unit\MigrateSqlIdMapTest::testGetQualifiedMapTablePrefix() to the list of to be fixed issues. :(
Comment #177
bzrudi71 CreditAttribution: bzrudi71 commentedCleanups!
#2464481: PostgreSQL: deal with case insensitivity is no longer required to have 100% pass as @daffie created a new patch in #2443679: PostgreSQL: Fix taxonomy\Tests\TermTest to just fix the TermTest part (based on the patch in the case sensitive issue). Also moving #1518506: Normalize how case sensitivity is handled across database engines out of nice to have. The decision is to support case insensitivity also for PostgreSQL.
Comment #178
daffie CreditAttribution: daffie commented@bzrudi71: In the issue #1314214: MySQL driver does not support full UTF-8 (emojis, asian symbols, mathematical symbols) they are changing the charset from utf8 to utf8mb4. I have no idea if there are consequences for PostgreSQL. The issue is at the moment RTBC. Can you be so kind and run the PostgreSQL testbot with the patch from that issue.
Comment #179
bzrudi71 CreditAttribution: bzrudi71 commented@daffie, stefan.r asked for a PG bot run some weeks ago and all was fine :) However, just started a new run with latest patch applied to make sure, let's see...
UPDATE: bot finished and all seems good :)
FYI: Because of #2296557: [policy] Require PHP 5.5 I changed all bots to run PHP-5.5 as of today! So let's hope we don't see any new fails after the next run...
Comment #180
bzrudi71 CreditAttribution: bzrudi71 commentedOkay, we have the first bot results for PHP-5.5 testing. Looks pretty good, but I see a new fail in database connection test for both, PostgreSQL and SQLite. Created #2508777: Database Connection test fails on PHP-5.5.
Comment #181
bzrudi71 CreditAttribution: bzrudi71 commentedAdding #2509296: PostgreSQL: Re-think current PDO::ATTR_EMULATE_PREPARES setting to nice to have section.
Comment #182
bzrudi71 CreditAttribution: bzrudi71 commentedIn preparation of revisit on July 1st I like to mention that there are just two open issues on the way to 100% pass:
Both are RTBC! So actually I think we made it :)
Comment #183
webchickWent to commit #2443679: PostgreSQL: Fix taxonomy\Tests\TermTest, but it already is! :D
Comment #184
bzrudi71 CreditAttribution: bzrudi71 commentedMoving #2443679: PostgreSQL: Fix taxonomy\Tests\TermTest out of the way (even if there is some discussion for a better fix). The last remaining issue #2477853: PostgreSQL: Add support for reserved field/column names is RTBC again.
Comment #185
daffie CreditAttribution: daffie commented@bzrudi71: #2477853: PostgreSQL: Add support for reserved field/column names has landed. Can you run the testbot on http://d8pgsqlbot.erwanderbar.de/ so that we can mark this issue as fixed!
Comment #186
bzrudi71 CreditAttribution: bzrudi71 commentedChampagne! What should I say :) After 18 months and 85 fixed issues it seems we finally made it - yay!
I don't think we should close this issue, better rename it and work further at the stuff within the nice-to-have section? Anyway, thanks @all!
BTW: Bot is running and will spit out the results within the next hour...
Comment #187
bzrudi71 CreditAttribution: bzrudi71 commentedWell, bot finished with 0 fails and with just 2 of the usual exceptions :)
BTW: The root cause of the randoms seems to be identified (table exists exceptions), please see #2508567: DrupalCI SQLite random failures. I think this is something for @dawehner and/or @amateescu ;)
Comment #188
webchickOMG WOWWWWWW!!! YOU FOLKS ARE AMAZING!!!
Since we already have #2508567: DrupalCI SQLite random failures to track the random exceptions in pgsql/sqlite, it is with GREAT pleasure that I mark this issue...
...at last...
...after much INCREDIBLE effort by so many people...
...whose improvements not only found legit bugs, but made Drupal's database layer 8 gabillion times more robust...
...FIXED!!! :D :D
GREAT work, everyone! Please go pass out. :)
Comment #189
Crell CreditAttribution: Crell at Palantir.net commented*happy dance*
Comment #190
webchickThough it's only a small gesture, it's the best that I can do, so saving the following as issue credit for this issue:
Giving credit to bzrudi71, jaredsmith at Bluehost, mradcliffe, stefan.r, daffie
If I'm missing someone (they have to have commented on this issue, sadly), please let me know!
Comment #191
bzrudi71 CreditAttribution: bzrudi71 commentedThank you for the flowers @webchick :) I think we should wait with the commit for a day or so to give contributors the chance the get them on the list. I really don't remember all the helping hands :)
Thanks again for all your support!
Comment #192
jaredsmith CreditAttribution: jaredsmith at Bluehost commentedIt was nice to come back from vacation and see the sweet news! A big thanks to everyone who helped along the way to make this possible!
Comment #194
bzrudi71 CreditAttribution: bzrudi71 commentedCreated #2564307: [meta] Remaining Drupal 10/11 PostgreSQL issues as follow up...
Comment #195
pedro7 CreditAttribution: pedro7 commentedIn PostgreSQL, is needed to know in which schema is Drupal website installed. Table prefix is NOT enough. It's needed to have another parameter like "dbchema" in settings.php.
Install Drupal website in other schema then public is important. I think, it's not good idea to have every website in separate database, because in this case joining tables from different websites is impossible. Another reason is save resources. Connections are relatively expensive.
I explained some mistakes in this comment. I'm not able to fix it correctly, so i'd like to ask some experienced Drupal developer to do it. Thanks for understanding.
Comment #196
mradcliffePlease see #1060476: Multiple issues when PostgreSQL is used with non-public schema for improving Drupal support for running in a non-public schema.