Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > However, I don't see any CVS commit that fixed this?  What am I missing?
> 
> The failure case is where the template database has a conflicting
> table.  You didn't show us where you created that table, but it
> evidently was not in template1.

OK, reproduced by using template1:
        
        create tablespace blah location '/bjm/tmp';
        CREATE TABLESPACE
        create table foo (i int) tablespace blah;
        CREATE TABLE
        create database foo tablespace blah;
        ERROR:  could not initialize database directory
        DETAIL:  Directory "/u/pgsql/data/pg_tblspc/17229/17232" already exists.

Gavin has posted a patch for this so I will put it in the patch queue.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  [EMAIL PROTECTED]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to