Re: Restrict allowed database names?

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Restrict allowed database names?
Date: 2010-03-21 17:43:16
Message-ID: 70eb8bcb-37fd-4efe-a12f-f59d701284ba@mm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sergey Konoplev wrote:

> What about PL/pgSQL wrapper function for CREATE DATABASE with database
> name check and SECURITY DEFINER option.

Not possible because CREATE DATABASE can't be executed within a function (nor
within a transaction).

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sergey Konoplev 2010-03-21 17:56:13 Re: Restrict allowed database names?
Previous Message Sergey Konoplev 2010-03-21 14:26:26 Re: Restrict allowed database names?