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 18:40:55
Message-ID: 41619937.8020206@x-ray.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

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)
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/

Attachment Content-Type Size
cyglink.patch text/plain 981 bytes

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Bruce Momjian 2004-10-04 19:01:12 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Wayne Phillips 2004-10-04 18:23:02 on w2k or xp?

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Stark 2004-10-04 18:42:43 Re: FunctionCall2 performance
Previous Message Hans-Jürgen Schönig 2004-10-04 18:34:40 Re: is it a known issue or just a bug?

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruce Momjian 2004-10-04 19:01:12 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Dave Page 2004-10-04 15:24:06 Static build of libpq fails