@malloy-publisher/sdk 0.9.5 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/api.d.ts +5 -1
- package/package.json +1 -1
package/dist/client/api.d.ts
CHANGED
|
@@ -1906,9 +1906,13 @@ export interface PostgresConnection {
|
|
|
1906
1906
|
*/
|
|
1907
1907
|
'connectionString'?: string;
|
|
1908
1908
|
/**
|
|
1909
|
-
* TLS mode for a connection reached through a `proxy` (SSH bastion)
|
|
1909
|
+
* TLS mode for the connection. On a connection reached through a `proxy` (SSH bastion), the driver connects to a local tunnel endpoint, so the cert hostname can\'t be checked from the tunnel address alone; use `verify-full` to check it against the real host. `verify-ca` validates the server cert chain against the trusted CA bundle (e.g. the baked Amazon RDS roots) without the hostname, `verify-full` validates the chain AND the hostname against the real host (verified via SNI through the tunnel; requires the target\'s CA to be trusted by Node\'s bundled CA roots or NODE_EXTRA_CA_CERTS), `no-verify` encrypts without verifying, and `disable` uses no TLS. A `storage=` build of a proxied source applies the same mode through its own tunnel, `verify-full` included. Note `verify-full` trusts a broader CA set than `verify-ca` here — ambient roots plus NODE_EXTRA_CA_CERTS, rather than the pinned NODE_EXTRA_CA_CERTS bundle that `verify-ca` uses — so it is intentionally not a strict superset; it adds the hostname check without narrowing CA trust. The server defaults it to `no-verify` when a proxy is set (so a force-SSL target isn\'t rejected for plaintext) — a server-applied default, not a schema default. On a direct connection the same modes apply against the configured host; when omitted, the deployment PGSSLMODE applies. Ignored when connectionString is set, which carries its own sslmode. Not applied to a DuckLake catalog connection.
|
|
1910
1910
|
*/
|
|
1911
1911
|
'sslmode'?: PostgresConnectionSslmodeEnum;
|
|
1912
|
+
/**
|
|
1913
|
+
* Maximum run time of each statement on the database, in milliseconds. The database cancels a statement that exceeds it. When omitted, the database\'s own statement_timeout applies. Not applied to a DuckLake catalog connection.
|
|
1914
|
+
*/
|
|
1915
|
+
'statementTimeoutMilliseconds'?: number;
|
|
1912
1916
|
}
|
|
1913
1917
|
export declare const PostgresConnectionSslmodeEnum: {
|
|
1914
1918
|
readonly Disable: "disable";
|