Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qoqXC-003AH2-6I for pgsql-docs@arkaria.postgresql.org; Fri, 06 Oct 2023 19:30:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qoqX9-00BCTm-JE for pgsql-docs@arkaria.postgresql.org; Fri, 06 Oct 2023 19:30:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qoqX8-00BCTV-Qy for pgsql-docs@lists.postgresql.org; Fri, 06 Oct 2023 19:30:48 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qoqX6-000MPD-NG for pgsql-docs@lists.postgresql.org; Fri, 06 Oct 2023 19:30:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=momjian.us; s=2023062407; h=In-Reply-To:Content-Transfer-Encoding:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-ID:Content-Description; bh=M99NkjTK69jXTK/7phQzKAskGc7chzAg1+t8HoMuuk4=; b=eRRDyL+j0bKyW+chLmbwu5cfHp 2ZgLZEZadV4o1vSzqyy2PsXbbT9asHGJ1KQBd339N9vT233ayOgCaUIDZWSVXB2FylKXDcCHhy8Ob cCqkhUnkNQjWwPIkLHpUH19ZdGwxmaLksV2p0wcJb+kpqxV0A9YtkpRahySBb+oEacsR8scq6+b6W vn7X9lZbgpLmXp7pCnigPbuyH1A8Av1ysv3nHX7N/QznOsIVEr+ViE20gaAgei5Bt/vhlUm5DDhRD RMeW4Vf8yGisLz/Het78oJjjZeEJA2gin0QEGyw9QIHiJhqhWU7jK1vJdFDYPtKl9ZqCjvjK7yshT T+W65erg==; Received: from bruce by momjian.us with local (Exim 4.96) (envelope-from ) id 1qoqX5-006HHZ-2B; Fri, 06 Oct 2023 15:30:43 -0400 Date: Fri, 6 Oct 2023 15:30:43 -0400 From: Bruce Momjian To: Brad White Cc: pgsql-docs@lists.postgresql.org Subject: Re: ODBC options Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Oct 3, 2023 at 05:34:01PM -0500, Brad White wrote: >   I was trying to figure how to set the log directory on my Windows client > using a parameter in the connection string. Short answer is that you can't. > But you can using the DSN settings. > I was under the impression that going DSN-less and using the parameters on the > connection string, we were free from the effects of the DSN settings. > That's not true. > The DSN settings become the default values, overridden by anything in the > connection string. > Conversely, there are two settings which, for reasons that escape me, can't be > set via the connection string. > In the process, I found the documentation on the ODBC settings to be scattered > and inconsistent, so I documented all the settings and their abbreviations in a > spreadsheet.  Is there a useful place or format where I can post that? > > Spreadsheet is here if anyone wants to look at it. > https://www.dropbox.com/scl/fi/v1uj1umtj20k1ljenodvy/ > psqlODBC-Configuration-Options.xlsx?rlkey=fit9kbgy0fv0fr9vt0u0a9oim&dl=0 Please see: https://odbc.postgresql.org/faq.html#1.6 -- Bruce Momjian https://momjian.us EDB https://enterprisedb.com Only you can decide what is important to you.