Re: open item: tablespace handing in pg_dump/pg_restore

From: Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>
To: Reini Urban <rurban(at)x-ray(dot)at>
Cc: PostgreSQL Developers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: open item: tablespace handing in pg_dump/pg_restore
Date: 2004-10-04 13:41:50
Message-ID: Pine.LNX.4.58.0410042336330.13673@linuxworld.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin pgsql-hackers pgsql-hackers-win32

On Mon, 4 Oct 2004, Reini Urban wrote:

> Reini Urban schrieb:
> > no HAVE_SYMLINK defined, though CYGWIN should added -DHAVE_SYMLINK.
>
> oops, sorry for the noise. of course CYGWIN has it defined in pg_config.h.
> CYGWIN can only do hardlinks (junctions) on directories of course.
>
> maybe HAVE_SYMLINKS should be extended to HAVE_DIR_SYMLINKS when you
> want to symlink a dir.
>
> > /usr/src/postgresql/postgresql-8.0.0cvs/src/backend/commands
> > $ gcc -E -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> > -Wmissing-declarations -I../../../src/include -DBUILDING_DLL -c
> > tablespace.c | grep HAVE_SYMLINK
> >
> > <none>

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?

Gavin

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Tom Lane 2004-10-04 14:30:28 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Gavin Sherry 2004-10-04 13:34:42 Re: open item: tablespace handing in pg_dump/pg_restore

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans-Jürgen Schönig 2004-10-04 14:14:55 is it a known issue or just a bug?
Previous Message Gavin Sherry 2004-10-04 13:34:42 Re: open item: tablespace handing in pg_dump/pg_restore

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Andrew Dunstan 2004-10-04 13:49:10 Re: output file name - was pg_restore / psql
Previous Message Gavin Sherry 2004-10-04 13:34:42 Re: open item: tablespace handing in pg_dump/pg_restore