Needs work
Project:
Drupal core
Version:
main
Component:
database system
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
10 Jul 2010 at 23:15 UTC
Updated:
19 Aug 2024 at 19:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
mikey_p commentedChanging the name to reflect the real request here, and not duplicate #850592: Logon to PostgreSQL doesn't permit 'real' names....
Comment #2
damien tournoud commentedPDO_pgsql doesn't support SSL, so there is nothing we can do about it here. Please open a feature request on php.net if you feel SSL support is important.
Comment #3
tamasd commentedAltough the PDO driver does not support the SSL options for PostgreSQL, adding the options into the DSN works. I created a patch that makes possible to operate Drupal in an environment where PostgreSQL requires SSL and client certificates to work. The ideal solution would be if the DSN could be specified directly through settings.php, but that is a bigger effort.
With this patch, Drupal can be installed through Drush.
Comment #4
bzrudi71 commentedAdding tag and requested PG bot run.
Comment #16
ElToundriko commentedWorks with Drupal 9.3.4, PHP 8.1.4 and postgreSQL 13.5. It would be a nice feature; how is the review working on this one ?
Comment #18
joseph.olstadNeeds a reroll.
In 9.4.x core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php became deprecated.
Comment #19
joseph.olstadComment #20
joseph.olstadtest bot issue
Not sure what to do about this.
Comment #21
mradcliffeDrupal core runs cspell to spell check files in the project. We need to add words to its dictionary / ignore list.
"if there's an unrecognized English word or a correctly spelled technical term, add it to the Drupal dictionary file: core/misc/cspell/dictionary.txt (Note: all words in the dictionary must be lowercase)"
dictionary.txt is sorted alphabetically (a-z) so sslkey, sslmode, sslrootcert should follow after "ssid" in that file.
Comment #22
daffie commentedYou fix those style guide violations by adding the following to the class file:
Insert it after the use-statements and before the class declaration.
Comment #23
joseph.olstadThanks for suggestions, trying the core misc cspell dictionary.txt
Comment #24
joseph.olstadComment #26
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It either no longer applies to Drupal core, or fails the Drupal core commit checks. Therefore, this issue status is now "Needs work".
Apart from a re-roll or rebase, this issue may need more work to address feedback in the issue or MR comments. To progress an issue, incorporate this feedback as part of the process of updating the issue. This helps other contributors to know what is outstanding.Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.Comment #27
nod_Disregard comment #26, bug in the bot script
Comment #28
smustgrave commentedSeems like a feature that will need test coverage also.
Thanks.
Comment #29
smulvih2I'm using this patch in a project where we just upgraded to core 10.1.6. The changes to
dictionary.txtwere not applying, so re-rolling patch to apply.Comment #31
joseph.olstadJust so our patches do not get forgotten:
The WxT distribution is still using this patch, between 200 and 300 installs, multiple public sector organizations, multiple installs in each organization.
Comment #37
revathidinesh commented@smulvih2 Shall I use the below patch in my Drupal 10.2.5 version?
https://www.drupal.org/files/issues/2023-11-14/postgresql-ssl-dns-850600...
Comment #38
smulvih2Updating patch for 10.3.x. Looks like some items in dictionary.txt were removed since 10.1.x.