public inbox for [email protected]
help / color / mirror / Atom feedFrom: Brad White <[email protected]>
To: [email protected]
Subject: ODBC options
Date: Tue, 3 Oct 2023 16:51:34 -0500
Message-ID: <CAA_1=92gMbAKwnzinEug7Zs=yOEBd7rB32SrfS8WES2Z4iVjGw@mail.gmail.com> (raw)
I was trying to figure how to set the log directory 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.
So you can set default values in the DSN dialog, or you can set them in the
registry.
----- ODBCLoggingOn.reg ------
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\ODBC\ODBCINST.INI\PostgreSQL
Unicode]
"Debug"="1"
"Logdir"="c:\\temp"
------------------------------------------
In the process I documented all the settings and their abbreviations in a
spreadsheet. I'll post that to the docs mailing list.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: ODBC options
In-Reply-To: <CAA_1=92gMbAKwnzinEug7Zs=yOEBd7rB32SrfS8WES2Z4iVjGw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox