Re: How and when are encoding DLLs used on Windows? - Mailing list pgsql-admin

From Craig Ringer
Subject Re: How and when are encoding DLLs used on Windows?
Date
Msg-id 4EC47155.3090306@ringerc.id.au
Whole thread Raw
In response to How and when are encoding DLLs used on Windows?  (David Schnur <dnschnur@gmail.com>)
Responses Re: How and when are encoding DLLs used on Windows?  (David Schnur <dnschnur@gmail.com>)
List pgsql-admin
On 11/17/2011 12:04 AM, David Schnur wrote:
> I bundle Postgres (8.3.15) with another product as a back-end database.
>   On Windows, the default build includes a bunch of what appear to be
> codec libraries, with names like,
> utf8_and_cyrillic.dll, ascii_and_mic.dll, etc.  But using Microsoft's
> dependency walker tool, I see no references to any of these in
> libpq.dll, psql, postgres or initdb.

They're loaded by LoadLibrary calls. You'll see that the names do appear
in the server executable as strings.

The PL libraries and contrib libraries are similar, in that you won't
see direct dependencies but they'll still get used via LoadLibrary if
your database calls for them.

--
Craig Ringer

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: How and when are encoding DLLs used on Windows?
Next
From: Jean-Armel Luce
Date:
Subject: Re: rsync and streaming replication