Re: open item: tablespace handing in pg_dump/pg_restore - Mailing list pgsql-hackers

From Reini Urban
Subject Re: open item: tablespace handing in pg_dump/pg_restore
Date
Msg-id 4161A299.5080301@x-ray.at
Whole thread Raw
In response to Re: open item: tablespace handing in pg_dump/pg_restore  (Reini Urban <rurban@x-ray.at>)
List pgsql-hackers
Reini Urban schrieb:
> Tom Lane schrieb:
>> Gavin Sherry <swm@linuxworld.com.au> writes:
>>
>>> I though this may have been the problem. configure.in defines 
>>> HAVE_SYMLINK
>>> to 1 if we are win32. It seems that for Reini's case we are setting our
>>> template (and PORTNAME) to win32 when I suspect it should be cygwin.
>>> Anyone got any ideas?
>>
>> What are the prospects of making the junction code work under cygwin?
> 
> Somethink like the attached patch is easier.
> Just replace symlink() for dirs with link() #ifdef  __CYGWIN__
> 
> just wait a sec until the tests run through...
> (completely fresh build)

Needed some time because contrib/earthdistance was missing,
so I removed it from the Makefile.

sorry,
bad: test tablespace           ... FAILED 1 of 96 tests failed.


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: SQL-Invoked Procedures for 8.1
Next
From: Tom Lane
Date:
Subject: Re: is it a known issue or just a bug?