Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove public schema from OBF #102

Open
rfbrown opened this issue May 4, 2023 · 1 comment
Open

remove public schema from OBF #102

rfbrown opened this issue May 4, 2023 · 1 comment

Comments

@rfbrown
Copy link
Member

rfbrown commented May 4, 2023

The following errors occur when running OBF on setup:

ERROR: schema "public" already exists ALTER SCHEMA ERROR: must be owner of schema public

I confirmed that the public schema is created automatically, with postgres as the owner on Ubuntu 20.04, PostgreSQL 15.2. Removing the relevant lines from OBF resolves the issue in my case.

I suggest (a) lines 77-95 be removed from OBF, or (b) the script be modified with some checks prior to executing the relevant statements.

I was going to do a pull request with line removal fix, but the contributing guidelines scared me away...

@rfbrown rfbrown changed the title remove public table from OBF remove public schema from OBF May 4, 2023
rfbrown added a commit to mcmlter/metabase that referenced this issue May 4, 2023
@atn38
Copy link
Member

atn38 commented May 19, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants