Re: pg_config

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: pg_config
Date: 2004-07-26 13:41:09
Message-ID: 410509F5.10606@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Bruce Momjian wrote:

>Andrew Dunstan wrote:
>
>
>>2. these cases need to be fixed:
>>
>> else if (strcmp(argv[i],"--includedir-server") ==0)
>> get_pkginclude_path(mypath,otherpath);
>> else if (strcmp(argv[i],"--libdir") == 0)
>> get_include_path(mypath,otherpath);
>>
>>We might actually need one or two functions in port/path.c to handle them.
>>
>>
>
>What is the problem here? Why do we need additional port/path
>functions? I see libdir is mismatched with include_path.
>
>

I don't see a function there to report the libdir at all (only
pkglibdir), and for includedir-server we would need either to append
"/server" or to have a function in path.c that reported it for us correctly.

cheers

andrew

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Andreas Pflug 2004-07-26 14:02:55 Re: [HACKERS] Function to kill backend
Previous Message Oliver Jowett 2004-07-26 11:42:25 fix for parameterized queries in DECLARE CURSOR statements