-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support PostgreSQL postgres_fdw
extension: Foreign Data Wrappers
#8614
Comments
postgres_fdw
extension: Foreign Data Wrappers
|
This would be awesome to support! Our use case would ensure that all foreign tables are read-only, not sure if that simplifies the problem for you. |
Yes and no. These changes might be enough for Introspection to pick these up, and represent them as As you are using these, maybe you can help me answer these questions: |
To answer your questions, insofar as I can - |
Have some time to come back to this issue - since full support for all foreign tables seems like a whole bag of worms based on other dependent features, would it be prudent to work on adding in the kind of warning outlined in #16311 ? Is there an existing standard for outputting warnings during introspection, such as this PR on the schema engine repo? |
Yes, that was how we started to warn about these. Not sure what the state about FDWs is over there though. |
|
Problem
PostgreSQL offers the
postgres_fdw
extension for Foreign Data Wrappers, "which can be used to access data stored in external PostgreSQL servers".https://www.postgresql.org/docs/9.5/postgres-fdw.html
https://www.postgresql.org/docs/9.5/sql-importforeignschema.html
https://www.percona.com/blog/2018/08/21/foreign-data-wrappers-postgresql-postgres_fdw/
https://thoughtbot.com/blog/postgres-foreign-data-wrapper
Suggested solution
Prisma should work with servers configured using
postgres_fdw
.Alternatives
None.
Additional context
#8610
The text was updated successfully, but these errors were encountered: