pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig Ringer <ringerc@ringerc.id.au>
To: David Schnur <dnschnur@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How and when are encoding DLLs used on Windows?
Date: Thu, 17 Nov 2011 10:28:37 +0800
Message-ID: <4EC47155.3090306@ringerc.id.au> (raw)
In-Reply-To: <CAANiQEmx3gy1B2vMiS6WaHHAEzKXn-kBHzaxe+9aL=d2=0JJJw@mail.gmail.com>
References: <CAANiQEmx3gy1B2vMiS6WaHHAEzKXn-kBHzaxe+9aL=d2=0JJJw@mail.gmail.com>

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



view thread (4+ messages)  latest in thread

Message-ID: <4EC47155.3090306@ringerc.id.au>
Permalink:  ../4EC47155.3090306@ringerc.id.au/
Also on:    postgresql.org/message-id/4EC47155.3090306@ringerc.id.au

 · 

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: pgsql-admin@postgresql.org
  Cc: ringerc@ringerc.id.au, dnschnur@gmail.com
  Subject: Re: How and when are encoding DLLs used on Windows?
  In-Reply-To: <4EC47155.3090306@ringerc.id.au>

* 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