Re: default tablespace for roles

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Laszlo Hornyak <kocka(at)forgeahead(dot)hu>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: default tablespace for roles
Date: 2005-08-06 17:45:56
Message-ID: 23527.1123350356@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Laszlo Hornyak <kocka(at)forgeahead(dot)hu> writes:
> It would be nice to have tablespaces for each users. This is a small
> pathc that does the job.

Isn't this entirely redundant with the existing default_tablespace GUC
variable, ie,

ALTER USER foo SET default_tablespace = whatever;

The patch's behavior of overriding session-local settings of
default_tablespace seems quite undesirable in any case.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Mark Wong 2005-08-06 21:04:19 Re: [HACKERS] O_DIRECT for WAL writes
Previous Message Laszlo Hornyak 2005-08-06 16:45:06 default tablespace for roles