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:34:42
Message-ID: Pine.LNX.4.58.0410042334150.13596@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:

> Gavin Sherry schrieb:
> > On Mon, 4 Oct 2004, Reini Urban wrote:
> >>>I cannot recreate on Linux. What platform, etc, are you on?
> >>
> >>hmm, I'll investigate then.
> >>
> >>postgresql latest CVS with 2 minor shlib building patches left
> >> (added -lpgport)
> >>cygwin-1.5.11
> >>gcc-3.4.1
> >
> > Hmm.. sounds like we're trying to support tablespaces on a system which
> > doesn't actually support symlinks (in the way we need them). Can any of
> > the windows guys help?
>
> Found the error:
> gcc -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
> -Wmissing-declarations -I../../../src/include -DBUILDING_DLL -c -o
> tablespace.o tablespace.c
>
> no HAVE_SYMLINK defined, though CYGWIN should added -DHAVE_SYMLINK.
>
> /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>

Does it pass the regression tests when you define HAVE_SYMLINK ?

Gavin

In response to

Browse pgsql-cygwin by date

  From Date Subject
Next Message Gavin Sherry 2004-10-04 13:41:50 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Reini Urban 2004-10-04 13:32:18 Re: open item: tablespace handing in pg_dump/pg_restore

Browse pgsql-hackers by date

  From Date Subject
Next Message Gavin Sherry 2004-10-04 13:41:50 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Reini Urban 2004-10-04 13:32:18 Re: open item: tablespace handing in pg_dump/pg_restore

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Gavin Sherry 2004-10-04 13:41:50 Re: open item: tablespace handing in pg_dump/pg_restore
Previous Message Reini Urban 2004-10-04 13:32:18 Re: open item: tablespace handing in pg_dump/pg_restore