Re: [pgsql-hackers-win32] Tablespaces
Re: [pgsql-hackers-win32] Tablespaces
От:
"Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>
Дата:
> First of all, symlinks are a pretty popular "feature." Even Windows > supports what would be needed. Second of all, PostgreSQL will still > run on OSes without symlinks, tablespaces won't be available, but > PostgreSQL will still run. Since we are all using PostgreSQL without My idea for platforms that don't support symlinks would be to simply create a tblspaceoid directory inplace instead of the symlink (maybe throw a warning). My feeling is, that using the same syntax on such platforms is important, but actual distribution is not (since they will most likely be small systems). Andreas
Re: [pgsql-hackers-win32] Tablespaces
От:
Bruce Momjian <pgman@candle.pha.pa.us>
Дата:
Zeugswetter Andreas SB SD wrote: > > > First of all, symlinks are a pretty popular "feature." Even Windows > > supports what would be needed. Second of all, PostgreSQL will still > > run on OSes without symlinks, tablespaces won't be available, but > > PostgreSQL will still run. Since we are all using PostgreSQL without > > My idea for platforms that don't support symlinks would be to simply create > a tblspaceoid directory inplace instead of the symlink (maybe throw a warning). > My feeling is, that using the same syntax on such platforms is important, > but actual distribution is not (since they will most likely be small systems). Nice idea --- so you can create tablespaces, but can't specify a different location for it --- makes sense. -- 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, Pennsylvania 19073