Re: [NOVICE] pg_config --pgxs

From: "Dave Page" <dpage(at)vale-housing(dot)co(dot)uk>
To: "Thomas Hallgren" <thomas(at)tada(dot)se>, "George Weaver" <gweaver(at)shaw(dot)ca>
Cc: "Michael Fuhr" <mike(at)fuhr(dot)org>, <pgsql-novice(at)postgresql(dot)org>, <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [NOVICE] pg_config --pgxs
Date: 2006-03-03 14:24:13
Message-ID: E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C91DC@ratbert.vale-housing.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-novice

> -----Original Message-----
> From: pgsql-hackers-owner(at)postgresql(dot)org
> [mailto:pgsql-hackers-owner(at)postgresql(dot)org] On Behalf Of
> Thomas Hallgren
> Sent: 03 March 2006 14:18
> To: George Weaver
> Cc: Michael Fuhr; pgsql-novice(at)postgresql(dot)org;
> pgsql-hackers(at)postgresql(dot)org
> Subject: Re: [HACKERS] [NOVICE] pg_config --pgxs
>
> George Weaver wrote:
> >
> > On March 2 Tom Lane wrote:
> >
> >> If you're on Windows this probably means that GetShortPathName() is
> >> failing. I'm not sure what conditions cause that,
> exactly. It might be
> >> a good idea if we fixed pg_config to print out the error
> code rather
> >> than just silently failing.
> >
> > Hi Tom,
> >
> > I am using Windows (XP).
> >
> GetShortPathName() seems to work well on my XP machine:
>
> C:\>pg_config --version
> PostgreSQL 8.1.1
>
> C:\>pg_config --pgxs
> C:/PROGRA~1/POSTGR~1/8.1/lib/pgxs/src/MAKEFI~1/pgxs.mk

It might be that short filenames are disabled - George, what's the value
of the registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisab
le8dot3NameCreation

I did test it with and without short names disabled when I rewrote that
code for Win32, but perhaps there's something odd on your system that's
related.

Regards, Dave.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message James_Hughes 2006-03-03 14:24:32 Re: Initdb on Windows 2003
Previous Message Thomas Hallgren 2006-03-03 14:17:54 Re: [NOVICE] pg_config --pgxs

Browse pgsql-novice by date

  From Date Subject
Next Message George Weaver 2006-03-03 14:54:41 Re: [NOVICE] pg_config --pgxs
Previous Message Thomas Hallgren 2006-03-03 14:17:54 Re: [NOVICE] pg_config --pgxs