From: Chris Ryan <chris@greatbridge.com>
To: pgsql-interfaces@postgresql.org <pgsql-interfaces@postgresql.org>
Subject: ODBC reading ini files
Date: Tue, 08 Aug 2000 15:40:09 -0400
Message-ID: <39906219.EF8002C2@greatbridge.com> (raw)
I noticed while trying to figure out a problem that
GetPrivateProfileString(...) does it's string comparisons while reading
the ini file "case sensitive". This actuall turned out to be the reason
for my problem as the datasource was in the ini file as "postgresql" and
the program was telling the odbc driver to read the datasource
"POSTGRESQL" which it could not find cause it was doing the compares
case sensitive.
Is it written this way for a reason??? If not can it be changed to do a
strncmp?
Also as a note: If you are trying to get PostgreSQL + Coldfusion working
using the pgsql odbc driver make sure your datasource names are in all
uppercase in .odbc.ini as Coldfusion always passes the datasource name
in all caps.
Chris Ryan
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: pgsql-interfaces@postgresql.org
Cc: chris@greatbridge.com
Subject: Re: ODBC reading ini files
In-Reply-To: <39906219.EF8002C2@greatbridge.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox