`DROP DATABASE RESTRICT` ? - Mailing list pgsql-general

From Brennan Vincent
Subject `DROP DATABASE RESTRICT` ?
Date
Msg-id CA+OW2AAPbxriULHcYJP2VL-CQZb=zonZRRg=m2zn84wn-OA5-g@mail.gmail.com
Whole thread Raw
Responses Re: `DROP DATABASE RESTRICT` ?  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
Hello all,

I was wondering if there is some reason why Postgres doesn't support a
`RESTRICT` option that would refuse to drop a database if it contains
any schemas or objects, similarly to the semantics of `DROP SCHEMA
[...] RESTRICT`.

Is there a fundamental reason not to support it, or is it just that
nobody has implemented it yet?

Thanks
Brennan



pgsql-general by date:

Previous
From: Tim Cross
Date:
Subject: Re: Detecting which columns a query will modify in a functioncalled by a trigger
Next
From: Adrian Klaver
Date:
Subject: Re: Detecting which columns a query will modify in a function calledby a trigger