Title: Allow passing string values for ssl query string in PostgreSQL URL · Issue #575 · encode/databases · GitHub
Open Graph Title: Allow passing string values for ssl query string in PostgreSQL URL · Issue #575 · encode/databases
X Title: Allow passing string values for ssl query string in PostgreSQL URL · Issue #575 · encode/databases
Description: When using the PostgreSQL backend, you can pass the ssl key in the query string, with the values true or false. These are converted to boolean and passed as arguments to asyncpg.create_pool The asyncpg library accepts other values than o...
Open Graph Description: When using the PostgreSQL backend, you can pass the ssl key in the query string, with the values true or false. These are converted to boolean and passed as arguments to asyncpg.create_pool The asy...
X Description: When using the PostgreSQL backend, you can pass the ssl key in the query string, with the values true or false. These are converted to boolean and passed as arguments to asyncpg.create_pool The asy...
Opengraph URL: https://github.com/encode/databases/issues/575
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow passing string values for ssl query string in PostgreSQL URL","articleBody":"When using the PostgreSQL backend, you can pass the `ssl` key in the query string, with the values `true` or `false`. These are converted to boolean and passed as arguments to [asyncpg.create_pool](https://magicstack.github.io/asyncpg/current/api/index.html#asyncpg.pool.create_pool)\r\n\r\nThe asyncpg library accepts other values than only `True` and `False`, which can be used to choose how certificate validation is done (or not done).\r\n\r\n~~For the record, when setting `ssl=true`, the ssl mode used is `prefer`, which will fallback to plain if SSL connection fails, so it is not a secure default.~~ (Edit: This is not true, certificate is checked with `ssl=true`, the documentation is not clear on that topic).\r\n\r\nI'm going to send a PR that permits to send string values, but it will not change the default settings.","author":{"url":"https://github.com/Exagone313","@type":"Person","name":"Exagone313"},"datePublished":"2023-11-28T15:21:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/575/databases/issues/575"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6df49ff2-720f-8dc7-7401-ad24835e5081 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CE30:399A66:AF6F93:EF7162:6A539C3B |
| html-safe-nonce | 009bdb9a4f89f37369b9d82033030c96a57f19e7c1618cfc4b2557faa61c4fde |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTMwOjM5OUE2NjpBRjZGOTM6RUY3MTYyOjZBNTM5QzNCIiwidmlzaXRvcl9pZCI6IjU0MzYxNzgxMjMwODY2MDEyNzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b483d14272b5bd1db2cd69889ab675e60cda70f0029299477a8c6912e9cb650c |
| hovercard-subject-tag | issue:2014689451 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/encode/databases/575/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb8e2727ae9967ecea4c6345f1777a559e79b3aec344389551544dc59c3c6034/encode/databases/issues/575 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb8e2727ae9967ecea4c6345f1777a559e79b3aec344389551544dc59c3c6034/encode/databases/issues/575 |
| og:image:alt | When using the PostgreSQL backend, you can pass the ssl key in the query string, with the values true or false. These are converted to boolean and passed as arguments to asyncpg.create_pool The asy... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Exagone313 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/encode/databases git https://github.com/encode/databases.git |
| octolytics-dimension-user_id | 19159390 |
| octolytics-dimension-user_login | encode |
| octolytics-dimension-repository_id | 168684254 |
| octolytics-dimension-repository_nwo | encode/databases |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 168684254 |
| octolytics-dimension-repository_network_root_nwo | encode/databases |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width