-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Document postgresql.include-system-tables
config property
#18574
Conversation
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
@@ -51,3 +51,6 @@ connector: | |||
JDBC query. Using a large timeout can potentially result in more detailed | |||
dynamic filters. However, it can also increase latency for some queries. | |||
- ``20s`` | |||
* - ``postgresql.include-system-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.
This file is jdbc-common-configurations.fragment
which is used from several connectors. Please move to postgresql.rst
.
@@ -51,3 +51,6 @@ connector: | |||
JDBC query. Using a large timeout can potentially result in more detailed | |||
dynamic filters. However, it can also increase latency for some queries. | |||
- ``20s`` | |||
* - ``postgresql.include-system-tables`` | |||
- Supports access to postgres system catalog tables(pg_catalog schemas). |
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.
"Supports reading PostgreSQL system tables, e.g., pg_catalog
relations."
@@ -51,3 +51,6 @@ connector: | |||
JDBC query. Using a large timeout can potentially result in more detailed | |||
dynamic filters. However, it can also increase latency for some queries. | |||
- ``20s`` | |||
* - ``postgresql.include-system-tables`` | |||
- Supports access to postgres system catalog tables(pg_catalog schemas). | |||
- ``false`` |
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.
Please update the commit title as "Document postgresql.include-system-tables config property"
https://github.com/trinodb/trino/blob/master/.github/DEVELOPMENT.md#format-git-commit-messages
postgresql.include-system-tables
config property
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
@@ -285,7 +285,9 @@ The following values are accepted for this property: | |||
Querying PostgreSQL | |||
------------------- | |||
|
|||
The PostgreSQL connector provides a schema for every PostgreSQL schema. | |||
The PostgreSQL connector supports reading PostgreSQL system tables, e.g., ``pg_catalog`` relations. |
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.
Please rebase on master to resolve conflicts. The file was converted to markdown.
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
1 similar comment
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
@@ -291,7 +291,9 @@ The following values are accepted for this property: | |||
|
|||
## Querying PostgreSQL | |||
|
|||
The PostgreSQL connector provides a schema for every PostgreSQL schema. | |||
The PostgreSQL connector provides a schema for every PostgreSQL schema. | |||
It also supports reading PostgreSQL system tables, e.g., `pg_catalog` relations. |
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.
It also supports reading PostgreSQL system tables, e.g., `pg_catalog` relations. | |
It also supports reading PostgreSQL system tables, such as `pg_catalog`. |
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.
This content should be moved up into the Configuration section .. maybe under a separate subtitle "Access to system tables"
The PostgreSQL connector provides a schema for every PostgreSQL schema. | ||
The PostgreSQL connector provides a schema for every PostgreSQL schema. | ||
It also supports reading PostgreSQL system tables, e.g., `pg_catalog` relations. | ||
The functionality is disabled by default but this can be enabled using the ``postgresql.include-system-tables`` configuration property. |
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.
The functionality is disabled by default but this can be enabled using the ``postgresql.include-system-tables`` configuration property. | |
The functionality is disabled by default, and can be enabled using the ``postgresql.include-system-tables`` configuration property. |
Also .. please rebase and send a signed CLA. |
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
I have send the CLA multiple times. I have changed my email and sent again. |
Looks like it was not yet added to https://github.com/trinodb/cla/blob/master/contributors |
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla |
eb9bd24
to
3974b73
Compare
``` | ||
|
||
More details about the PostgreSQL system tables, see the [PostgreSQL system | ||
catalog documentation](https://www.postgresql.org/docs/current/catalogs.html). |
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.
According to that URL there is no pg_tables table...
3974b73
to
fc69718
Compare
fc69718
to
4fe0877
Compare
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.
Fixed the last issues and the commit message. Merging.
Description
Added in general postgreSQL connector configuration in the documentation for support for reading PostgreSQL system tables, e.g., pg_catalog relations. The functionality is disabled by default.
Additional context and related issues
Fixes #15424
Relates to https://trinodb.slack.com/archives/CGB0QHWSW/p1671165424335919
Release notes
(X) This is not user-visible or is docs only, and no release notes are required.
( ) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: