Обсуждение: Re: Are we there yet? (Re: Contrib modules on Win32)

Поиск
Список
Период
Сортировка

Re: Are we there yet? (Re: Contrib modules on Win32)

От
Tom Lane
Дата:
"Dave Page" <dpage@vale-housing.co.uk> writes:
> Yup, all seems OK here apart from earthdistance which seems to have
> totally vanished from CVS (it's not even in the attic according to
> cvsweb), but is still in the Makefile

Your checkout has to be from "pgsql" not "pgsql-server".  This is the
remnant of an abandoned experiment by Marc to split up the repository...

> A number show failures because $argv[0] == "psql.exe" on Windows.

Blech.  We can probably fix that by suppressing the notices themselves.

> Finally, tsearch2 doesn't look so good.

Hmm, is it miscomputing the file path, or what?

> ! ERROR:  could not open file "/usr/local/pgsql/share/contrib/english.stop": No such file or directory


            regards, tom lane

Re: Are we there yet? (Re: Contrib modules on Win32)

От
"Dave Page"
Дата:

> -----Original Message-----
> From: Tom Lane [mailto:tgl@sss.pgh.pa.us]
> Sent: 14 September 2004 14:52
> To: Dave Page
> Cc: PgSQL Win32 developers
> Subject: Re: Are we there yet? (Re: [pgsql-hackers-win32]
> Contrib modules on Win32)
>
> "Dave Page" <dpage@vale-housing.co.uk> writes:
> > Yup, all seems OK here apart from earthdistance which seems to have
> > totally vanished from CVS (it's not even in the attic according to
> > cvsweb), but is still in the Makefile
>
> Your checkout has to be from "pgsql" not "pgsql-server".
> This is the remnant of an abandoned experiment by Marc to
> split up the repository...
>
> > A number show failures because $argv[0] == "psql.exe" on Windows.
>
> Blech.  We can probably fix that by suppressing the notices
> themselves.
>
> > Finally, tsearch2 doesn't look so good.
>
> Hmm, is it miscomputing the file path, or what?
>
> > ! ERROR:  could not open file
> > "/usr/local/pgsql/share/contrib/english.stop": No such file or
> > directory

Hmm, that's the correct path from msys's perspective, but server is
certain going to barf because from it's perspective it should be
C:\msys\1.0\local\pgsql\share\contrib\english.stop.

Regards, Dave.

Re: Are we there yet? (Re: Contrib modules

От
Andrew Dunstan
Дата:

Dave Page wrote:

>>>Finally, tsearch2 doesn't look so good.
>>>
>>>
>>Hmm, is it miscomputing the file path, or what?
>>
>>
>>
>>>! ERROR:  could not open file
>>>"/usr/local/pgsql/share/contrib/english.stop": No such file or
>>>directory
>>>
>>>
>
>Hmm, that's the correct path from msys's perspective, but server is
>certain going to barf because from it's perspective it should be
>C:\msys\1.0\local\pgsql\share\contrib\english.stop.
>
>
>
>

What is more, it doesn't seem to account for relocatability, unless I'm
mistaken. The "dual world view" issue can be overcome - see the core
regression script for an example.

cheers

andrew