Repository navigation
add support for DATABASE_SEARCH_PATH - #3823
Closed
ruslandoga wants to merge 1 commit into
Closed
ruslandoga wants to merge 1 commit into
ruslandoga wants to merge 1 commit into
Conversation
aerosol
approved these changes
Feb 26, 2024
4 tasks done
|
Any ETA for the release this would be included in? |
ruslandoga
marked this pull request as ready for review
May 7, 2024 09:46
Contributor
Author
|
@plausible/developers any advice on how to test this? :) |
Contributor
Author
|
@Nikola-Milovic could you please verify that the approach in #3799 (reply in thread) worked? |
ruslandoga
force-pushed
the
support-postgresql-search_path
branch
from
May 7, 2024 10:17
7826e0a to
13424d3
Compare
|
@ruslandoga Pretty much working postgres=# \dn
List of schemas
Name | Owner
-----------+----------
plausible | postgres
public | postgres
(2 rows)
postgres=# \d
List of relations
Schema | Name | Type | Owner
--------+------------------+----------+----------
public | oban_jobs | table | postgres
public | oban_jobs_id_seq | sequence | postgres
public | oban_peers | table | postgres
(3 rows)
postgres=# set schema 'plausible';
SET
postgres=# \d
List of relations
Schema | Name | Type | Owner
-----------+-----------------------------------+----------+----------
plausible | api_keys | table | postgres
plausible | api_keys_id_seq | sequence | postgres
plausible | check_stats_emails | table | postgres
plausible | check_stats_emails_id_seq | sequence | postgres
plausible | create_site_emails | table | postgres
plausible | create_site_emails_id_seq | sequence | postgres
plausible | custom_domains | table | postgres
plausible | custom_domains_id_seq | sequence | postgres
plausible | email_verification_codes | table | postgres
plausible | enterprise_plans | table | postgres
plausible | enterprise_plans_id_seq | sequence | postgres
plausible | feedback_emails | table | postgres
plausible | feedback_emails_id_seq | sequence | postgres
plausible | fun_with_flags_toggles | table | postgres
plausible | fun_with_flags_toggles_id_seq | sequence | postgres
plausible | goals | table | postgres
plausible | goals_id_seq | sequence | postgres
plausible | google_auth | table | postgres
plausible | google_auth_id_seq | sequence | postgres
plausible | intro_emails | table | postgres
plausible | intro_emails_id_seq | sequence | postgres
plausible | invitations | table | postgres
plausible | invitations_id_seq | sequence | postgres
plausible | monthly_reports | table | postgres
plausible | monthly_reports_id_seq | sequence | postgres
postgres=# \dThe oban library seems to still put its schemas into public Demo https://github.com/Nikola-Milovic/plausible-schema-demo
|
Contributor
Author
|
There have been some changes since v2.0.0 that make it harder to support this env var, please see https://github.com/Nikola-Milovic/plausible-schema-demo/pull/1#issue-2284553627 Since the current PR is not going to solve the root issue anyway (due to failing migrations), I'm going to close it. Sorry! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR adds support for custom PostgreSQL
search_pathas requested in #3799Tests
Changelog
Documentation
Dark mode