-
Notifications
You must be signed in to change notification settings - Fork 27
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
allow defining schemas from environment variable #92
Conversation
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# # Make a commit on `gh-pages` only if master | ||
# auto-push: ${{ github.ref == 'refs/heads/master' }} | ||
# benchmark-data-dir-path: benchmarks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AND n.nspname NOT IN ('pg_catalog', 'information_schema') | ||
AND c.relname NOT IN ('spatial_ref_sys','geometry_columns') | ||
AND (:schemas::text[] IS NULL OR n.nspname = ANY (:schemas)) | ||
AND (:tables::text[] IS NULL OR c.relname = ANY (:tables)) | ||
|
||
) | ||
SELECT |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sync with tifeatures
await register_table_catalog( | ||
app, | ||
schemas=postgres_settings.db_schemas, | ||
tables=postgres_settings.db_tables, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
allow `PG_SCHEMAS='["public", ....]' in environments
closes #91