Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group