Thread: Re: [NOVICE] pg_config --pgxs

Re: [NOVICE] pg_config --pgxs

From
"Dave Page"
Date:

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


Re: [NOVICE] pg_config --pgxs

From
George Weaver
Date:
From: "Dave Page"
Sent: Friday, March 03, 2006 8:24 AM

>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

Hi Dave;

The value is 0.  Does that mean short filenames are disabled?

Regards,
George