From 9cc7d8eb942bdc156bf6c4ca19587c020f983d8f Mon Sep 17 00:00:00 2001 From: "Herman J. Radtke III" Date: Tue, 22 Apr 2025 12:04:17 -0400 Subject: [PATCH] docs: add missing parameters on pg.Client Config (#3422) - client_encoding - fallback_application_name - options --- docs/pages/apis/client.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/pages/apis/client.mdx b/docs/pages/apis/client.mdx index 64813613..8014731f 100644 --- a/docs/pages/apis/client.mdx +++ b/docs/pages/apis/client.mdx @@ -23,7 +23,10 @@ type Config = { lock_timeout?: number, // number of milliseconds a query is allowed to be en lock state before it's cancelled due to lock timeout application_name?: string, // The name of the application that created this Client instance connectionTimeoutMillis?: number, // number of milliseconds to wait for connection, default is no timeout - idle_in_transaction_session_timeout?: number // number of milliseconds before terminating any session with an open idle transaction, default is no timeout + idle_in_transaction_session_timeout?: number, // number of milliseconds before terminating any session with an open idle transaction, default is no timeout + client_encoding?: string, // specifies the character set encoding that the database uses for sending data to the client + fallback_application_name?: string, // provide an application name to use if application_name is not set + options?: string // command-line options to be sent to the server } ```