How to securely isolate databases/users in a multi-tenant Postgresql? - Mailing list pgsql-general

From Alex Lee
Subject How to securely isolate databases/users in a multi-tenant Postgresql?
Date
Msg-id CAL2iA8j=pQ3w-foNqFSpQqawuBauRHXTtqqZRk6Ggg9grAAdUg@mail.gmail.com
Whole thread Raw
Responses Re: How to securely isolate databases/users in a multi-tenant Postgresql?  (Erik Wienhold <ewie@ewie.name>)
List pgsql-general
I want to make a service that gives each of my users their own PG user and database. I want to keep them isolated from each other. There are no special extensions installed, it's a pretty vanilla PG cluster.

Are there any considerations beyond making each person their own user and owner of their own database like this, and letting them connect to the database?

```
create user u2745;
create database d2745 owner u2745;
-- etc.
```

pgsql-general by date:

Previous
From: Rama Krishnan
Date:
Subject: How to store query result into another table using stored procedure
Next
From: Alban Hertroys
Date:
Subject: Re: How To: A large [2D] matrix, 100,000+ rows/columns