Postgres 10 temp tablespace question - Mailing list pgsql-general

From Joseph Dunleavy
Subject Postgres 10 temp tablespace question
Date
Msg-id DM6PR17MB2747BA46DA76ABBBEF637045E44E0@DM6PR17MB2747.namprd17.prod.outlook.com
Whole thread Raw
Responses Re: Postgres 10 temp tablespace question
List pgsql-general

I am building a multi-tenant deployment with multiple database - 1 tenant per database.

I would like to be able to dedicate specific temp tablespace to a specific database or user/schemas.

I understand how to define temp_tablespace in postgresql.conf.


I can't find anything in the documentation on how to dedicate a specific temp_tablespaces to a specific database, user or schema.

I also thought maybe I could create a trigger on logon to set a specific temp tablespace per user, but I can't do that either.


Is it possible in Postgresql to dedicate a specific temp tablespace to a specific database or user/schema?


Thank you for the help.

JD




pgsql-general by date:

Previous
From: Alexandru Lazarev
Date:
Subject: Re: Hot to model data in DB (PostgreSQL) for SNMP-like multiple configurations
Next
From: Julie Nishimura
Date:
Subject: DDL for database creation