Skip to content

Commit 820afcb

Browse files
claudespiceClaudelukekim
authored
fix: Add missing pg_connection_string and pg_connection_pool_min_idle params to PostgreSQL docs (#1458)
Co-authored-by: Claude <claude@spices-MacBook.localdomain> Co-authored-by: Luke Kim <80174+lukekim@users.noreply.github.com>
1 parent f0c40c5 commit 820afcb

1 file changed

Lines changed: 12 additions & 10 deletions

File tree

  • website/docs/components/data-connectors/postgres

website/docs/components/data-connectors/postgres/index.md

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,16 +95,18 @@ The connection to PostgreSQL can be configured by providing the following `param
9595

9696
<!-- When making changes to this list, also update components/data-accelerators/postgres/index.md -->
9797

98-
| Parameter Name | Description |
99-
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
100-
| `pg_host` | The hostname of the PostgreSQL server. |
101-
| `pg_port` | The port of the PostgreSQL server. |
102-
| `pg_db` | The name of the database to connect to. |
103-
| `pg_user` | The username to connect with. |
104-
| `pg_pass` | The password to connect with. Use the [secret replacement syntax](../../components/secret-stores) to load the password from a secret store, e.g. `${secrets:my_pg_pass}`. |
105-
| `pg_sslmode` | Optional. Specifies the SSL/TLS behavior for the connection, supported values:<br /> <ul><li>`verify-full`: (default) This mode requires an SSL connection, a valid root certificate, and the server host name to match the one specified in the certificate.</li><li>`verify-ca`: This mode requires a TLS connection and a valid root certificate.</li><li>`require`: This mode requires a TLS connection.</li><li>`prefer`: This mode will try to establish a secure TLS connection if possible, but will connect insecurely if the server does not support TLS.</li><li>`disable`: This mode will not attempt to use a TLS connection, even if the server supports it.</li></ul> |
106-
| `pg_sslrootcert` | Optional parameter specifying the path to a custom PEM certificate that the connector will trust. |
107-
| `connection_pool_size` | Optional. The maximum number of connections to keep open in the connection pool. Default is 5. |
98+
| Parameter Name | Description |
99+
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
100+
| `pg_connection_string` | Optional. The connection string to use to connect to the PostgreSQL server. This can be used instead of providing individual connection parameters. |
101+
| `pg_host` | The hostname of the PostgreSQL server. |
102+
| `pg_port` | The port of the PostgreSQL server. |
103+
| `pg_db` | The name of the database to connect to. |
104+
| `pg_user` | The username to connect with. |
105+
| `pg_pass` | The password to connect with. Use the [secret replacement syntax](../../components/secret-stores) to load the password from a secret store, e.g. `${secrets:my_pg_pass}`. |
106+
| `pg_sslmode` | Optional. Specifies the SSL/TLS behavior for the connection, supported values:<br /> <ul><li>`verify-full`: (default) This mode requires an SSL connection, a valid root certificate, and the server host name to match the one specified in the certificate.</li><li>`verify-ca`: This mode requires a TLS connection and a valid root certificate.</li><li>`require`: This mode requires a TLS connection.</li><li>`prefer`: This mode will try to establish a secure TLS connection if possible, but will connect insecurely if the server does not support TLS.</li><li>`disable`: This mode will not attempt to use a TLS connection, even if the server supports it.</li></ul> |
107+
| `pg_sslrootcert` | Optional parameter specifying the path to a custom PEM certificate that the connector will trust. |
108+
| `pg_connection_pool_min_idle` | Optional. The minimum number of idle connections to keep open in the pool. Default is `1`. |
109+
| `connection_pool_size` | Optional. The maximum number of connections created in the connection pool. Default is `5`. |
108110

109111
## Types
110112

0 commit comments

Comments
 (0)