Subject: Re: dependency on postgresql server
To: None <>
From: Joerg Sonnenberger <>
List: tech-pkg
Date: 08/03/2006 22:48:32
On Thu, Aug 03, 2006 at 08:49:40AM -0600, Brook Milligan wrote:
> I am making a package that depends on the postgresql server (not
> client).  I would like to use the mechanism to
> determine which specific version of the postgresql server to depend
> on.  Unfortunately, after all the version-selection logic, that file
> just includes the appropriate postgresql-client file.
> Thus, it is difficult to use this approach to select the appropriate
> _server_.

See databases/slony1 for a possible way to deal with it. I don't exactly
like it, but so far it was the only package where it is needed. The
requirement to abstract it was nil for that reason.