> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of 
> Thomas Hallgren
> Sent: 03 March 2006 14:18
> To: George Weaver
> Cc: Michael Fuhr; [EMAIL PROTECTED]; 
> pgsql-hackers@postgresql.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.

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to [EMAIL PROTECTED] so that your
       message can get through to the mailing list cleanly

Reply via email to