Re: open item: tablespace handing in pg_dump/pg_restore

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: open item: tablespace handing in pg_dump/pg_restore
Дата
Msg-id 200410120106.i9C16QJ18109@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: open item: tablespace handing in pg_dump/pg_restore  (Greg Stark <gsstark@mit.edu>)
Ответы Re: open item: tablespace handing in pg_dump/pg_restore  (Reini Urban <rurban@x-ray.at>)
Список pgsql-hackers
Greg Stark wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 
> > OK, I have applied the following patch that uses Cygwin native symlink()
> > instead of the Win32 junctions.  The reason for this is that Cygwin
> > symlinks work on Win95/98/ME where junction points do not 
> 
> Is this really a Win95/98/ME vs NT distinction or a FAT32 vs NTFS distinction?
> In which case does an NT machine that happens to be using a FAT32 file system
> have the same problem?

I believe it is OS, not file system.
> 
> > and we have no way to know what system will be running the Cygwin binaries
> 
> Is there a reason to make this a compile-time decision? Can't it just try to
> make a junction and if it fails then use the Cygwin symlink?

Yes, if we feel like probing for the Windows OS during runtime.  I don't
think it is worth it.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: Unit testing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Unit testing