Re: Tablespace patch review

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, Gavin Sherry <swm(at)linuxworld(dot)com(dot)au>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Tablespace patch review
Date: 2004-06-19 05:02:22
Message-ID: 9614.1087621342@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au> writes:
> What about people upgrading from 7.4 databases that used database locations?

They'll get a nice warning:

regression=# create database foo location 'bar';
WARNING: LOCATION is not supported anymore
HINT: Consider using tablespaces instead.
CREATE DATABASE

and everything will go into the default tablespace. I don't really
see how to do much better than that ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-06-19 05:04:32 Re: Minor DROP TABLESPACE issue
Previous Message Tom Lane 2004-06-19 04:59:57 Re: pgsql-server: Tablespaces.

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2004-06-19 05:10:35 Re: Tablespace patch review
Previous Message Bruce Momjian 2004-06-19 04:42:52 Re: win32 libpq ENABLE_THREAD_SAFETY