Re: default_tablespace

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Florian Pflug <fgp(at)phlo(dot)org>
Cc: David Kerr <dmk(at)mr-paradox(dot)net>, carl clemens <carlclemens1(at)yahoo(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: default_tablespace
Date: 2011-02-17 20:06:47
Message-ID: 1297973155-sup-6211@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Excerpts from Florian Pflug's message of jue feb 17 16:55:55 -0300 2011:

> You can, however, do ALTER USER <user> SET default_tablespace=<whatever>, which will
> cause default_tablespace to be set automatically upon login for that user.
>
> I don't know of the top of my head how we store that in the system catalogs, though.
> You'll have to check the documentation to find that out...

It's in pg_db_role_settings.

--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David E. Wheeler 2011-02-17 20:17:15 Re: Rewrite, normal execution vs. EXPLAIN ANALYZE
Previous Message Josh Berkus 2011-02-17 20:06:34 Re: Add support for logging the current role