Re: [NOVICE] pg_config --pgxs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: George Weaver <gweaver(at)shaw(dot)ca>
Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, pgsql-hackers(at)postgresql(dot)org, pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] pg_config --pgxs
Date: 2006-03-03 23:29:38
Message-ID: 8276.1141428578@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

George Weaver <gweaver(at)shaw(dot)ca> writes:
> For pgxs, it concatentates the libdir with "/pgxs/src/makefiles/pgxs.mk" so
> its looking for "C:/Program
> Files/PostgreSQL/8.1/lib/pgxs/src/makefiles/pgxs.mk" which doesn't exist.
> ...
> If I made the entire package from source and installed it, would it have
> created the directory "/pgxs/src/makefiles" under "C:/Program
> Files/PostgreSQL/8.1/lib/"?

Yes, it should have. I think the issue here is that GetShortPathName
insists on the target path actually existing, whereas the Unix
environment imposes no such requirement.

Not sure if we should try to do anything about this --- if the file is
not there, it isn't going to help a lot for pg_config to print out where
it should have been, so really there's not much functionality loss
involved here.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jim C. Nasby 2006-03-03 23:31:43 Re: PostgreSQL Anniversary Summit, Call for
Previous Message Jim C. Nasby 2006-03-03 22:46:39 Re: Improving free space usage (was: Reducing relation locking overhead)

Browse pgsql-novice by date

  From Date Subject
Next Message Thomas Hallgren 2006-03-04 09:11:11 Re: pg_config --pgxs
Previous Message George Weaver 2006-03-03 22:18:31 Re: [NOVICE] pg_config --pgxs