Unix Technical Forum

pg_config --pgxs on Win32

This is a discussion on pg_config --pgxs on Win32 within the pgsql Hackers forums, part of the PostgreSQL category; --> Something changed very recently in the output from pg_config --pgxs command on Win32. It now outputs double backslash everywhere ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 06:13 AM
Thomas Hallgren
 
Posts: n/a
Default pg_config --pgxs on Win32

Something changed very recently in the output from pg_config --pgxs command on Win32. It now
outputs double backslash everywhere instead of forward slashes. The mingw GNU Make is not
too happy about the double backslashes. I do:

export PGXS := $(dir $(shell pg_config --pgxs))

and now it yields "./"

I tried to do the following:

$(warning "PGXS = $(dir c:\\msys\\local\\pgsql\\lib\\pgxs\\src\\MAKEFI~1\\ pgxs.mk)")
$(warning "PGXS = $(dir c:/msys/local/pgsql/lib/pgxs/src/MAKEFI~1\\pgxs.mk)")

The first one yields "./", the second is OK.

I guess it happened when changing to using short-name represenation?

Regards,
Thomas Hallgren


---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-11-2008, 06:13 AM
Tom Lane
 
Posts: n/a
Default Re: pg_config --pgxs on Win32

Thomas Hallgren <thhal@mailblocks.com> writes:
> Something changed very recently in the output from pg_config --pgxs
> command on Win32. It now outputs double backslash everywhere instead
> of forward slashes. The mingw GNU Make is not too happy about the
> double backslashes.


I said that was a bad idea when it was done. I'll undo it.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:26 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com