Re: open item: tablespace handing in pg_dump/pg_restore

Поиск
Список
Период
Сортировка
От Gavin Sherry
Тема Re: open item: tablespace handing in pg_dump/pg_restore
Дата
Msg-id Pine.LNX.4.58.0410042336330.13673@linuxworld.com.au
обсуждение исходный текст
Ответ на Re: open item: tablespace handing in pg_dump/pg_restore  (Reini Urban <rurban@x-ray.at>)
Ответы Re: open item: tablespace handing in pg_dump/pg_restore  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: open item: tablespace handing in pg_dump/pg_restore
Следующее
От: Hans-Jürgen Schönig
Дата:
Сообщение: is it a known issue or just a bug?