Re: [PATCHES] CREATE DATABASE with tablespace fix

2004-08-15 Thread Bruce Momjian
Gavin Sherry wrote: Attached is a patch resolving the issue raised here: http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackershl=enlr=ie=UTF-8group=comp.databases.postgresql.hackersscoring=dselm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.aurnum=4

Re: [PATCHES] CREATE DATABASE with tablespace fix

2004-08-15 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: I am a little confused why we can't just merge the directories? The relfilenodes would guarantee that the files are unique, right? Actually not: there is no uniqueness check on relfilenode beyond the indirect one of the files having to live in the same

Re: [PATCHES] CREATE DATABASE with tablespace fix

2004-08-15 Thread Bruce Momjian
Added to open items: * fix case where template db already uses target tablespace --- Tom Lane wrote: Bruce Momjian [EMAIL PROTECTED] writes: I am a little confused why we can't just merge the directories? The

[PATCHES] CREATE DATABASE with tablespace fix

2004-08-09 Thread Gavin Sherry
Attached is a patch resolving the issue raised here: http://groups.google.com.au/groups?q=tablespaces+group:comp.databases.postgresql.hackershl=enlr=ie=UTF-8group=comp.databases.postgresql.hackersscoring=dselm=Pine.LNX.4.58.0407281411470.17889%40linuxworld.com.aurnum=4 When I was testing this, I