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

Add 'pgIdentifiers' setting to allow _not_ fully qualifying table/function names #1774

Merged
merged 6 commits into from
Sep 29, 2023

Conversation

benjie
Copy link
Member

@benjie benjie commented Sep 29, 2023

Fixes #191

Needs tests and documentation before this becomes an "officially supported" interface. GET INVOLVED!

Add preset.gather.pgIdentifiers setting (values: 'qualified' or 'unqualified'); if set to 'unqualified' then we will not add the schema name to table or function identifiers - it's up to you to ensure they're present in the search_path (which you can set via pgSettings on a per-request basis).

…qualified' or 'unqualified'); if set to 'unqualified' then we will not add the schema name to table or function identifiers - it's up to you to ensure they're present in the `search_path` (which you can set via `pgSettings` on a per-request basis).
@changeset-bot
Copy link

changeset-bot bot commented Sep 29, 2023

🦋 Changeset detected

Latest commit: 604dd5e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
graphile-build-pg Patch
postgraphile Patch
graphile-utils Patch
pgl Patch
graphile Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@benjie benjie merged commit f4159ba into main Sep 29, 2023
24 checks passed
@benjie benjie deleted the unqualified-tables branch September 29, 2023 17:47
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

Successfully merging this pull request may close these issues.

How to use postgraphql with multiple schemas with same table names
1 participant