Message-ID: From: "chrullrich (@chrullrich)" To: "postgresql-interfaces/psqlodbc" Date: Sun, 24 Nov 2024 11:15:19 +0000 Subject: [postgresql-interfaces/psqlodbc] PR #76: Install the drivers with short file names List-Id: X-GitHub-Author-Id: 4695907 X-GitHub-Author-Login: chrullrich X-GitHub-Issue: 76 X-GitHub-Repo: postgresql-interfaces/psqlodbc X-GitHub-State: merged X-GitHub-Type: pull_request X-GitHub-Url: https://github.com/postgresql-interfaces/psqlodbc/pull/76 Content-Type: text/plain; charset=utf-8 **This should be considered a backwards-incompatible change.** I would really like some more eyes on this because I'm not at all sure it will actually work in reality, given that there may be all kinds of setups that do not go through the ODBC driver manager for opening a data source, and there may be complications with loading two copies of the same driver from different files. It avoids the need to post-process the MSI file to work around http://wixtoolset.org/issues/1422/ (installing ODBC drivers with long file names fails) by changing the file names to be short, and registering the drivers on the short names. For compatibility with existing configurations the short-named DLLs are also installed with their original long names.