Re: dropdb ; createdb equivalent without createdb permission? - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: dropdb ; createdb equivalent without createdb permission?
Date
Msg-id 20070709185316.GD28069@phlogiston.dyndns.org
Whole thread Raw
In response to Re: dropdb ; createdb equivalent without createdb permission?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On Mon, Jul 09, 2007 at 02:50:02PM -0400, Tom Lane wrote:
> A SECURITY DEFINER function (living in some other database of course)
> could accomplish this without going outside Postgres.

Good point.  I was originally imagining a sort of scripted QA
environment, and sudo for that sort of thing is pretty useful.  But
for other applications, it's probably a lousy choice.

A

--
Andrew Sullivan  | ajs@crankycanuck.ca
I remember when computers were frustrating because they *did* exactly what
you told them to.  That actually seems sort of quaint now.
        --J.D. Baldwin

pgsql-general by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: dropdb ; createdb equivalent without createdb permission?
Next
From: Gunzler
Date:
Subject: Re: How do I aggregate data from multiple rows into a delimited list?