Re: open item: tablespace handing in pg_dump/pg_restore

From: Reini Urban <rurban(at)x-ray(dot)at>
To: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: open item: tablespace handing in pg_dump/pg_restore
Date: 2004-10-04 19:20:57
Message-ID: 4161A299.5080301@x-ray.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

Reini Urban schrieb:
> Tom Lane schrieb:
>> Gavin Sherry <swm(at)linuxworld(dot)com(dot)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.

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Tom Lane 2004-10-04 19:28:23 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Wayne Phillips 2004-10-04 19:14:23 on w2k or xp?

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-10-04 19:25:12 Re: is it a known issue or just a bug?
Previous Message Andrew Dunstan 2004-10-04 19:14:34 Re: SQL-Invoked Procedures for 8.1

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-10-04 19:28:23 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Bruce Momjian 2004-10-04 19:01:12 Re: open item: tablespace handing in pg_dump/pg_restore