From: Tom Lane <tgl@sss.pgh.pa.us>
To: Ron <ronljohnsonjr@gmail.com>
Cc: pgsql-general@lists.postgresql.org, Alvaro Herrera <alvherre@alvh.no-ip.org>
Subject: Re: Drop role cascade ?
Date: Thu, 17 Nov 2022 18:57:52 -0500
Message-ID: <2062953.1668729472@sss.pgh.pa.us> (raw)
In-Reply-To: <165fba28-443f-c981-ba06-a996b8c81969@gmail.com>
References: <CAEs=6D=z_1f_FNS6NxYOpS-M8HrrKLmSoM=UY3yA6dznOivt0Q@mail.gmail.com>
<2058701.1668727016@sss.pgh.pa.us>
<165fba28-443f-c981-ba06-a996b8c81969@gmail.com>
Ron <ronljohnsonjr@gmail.com> writes:
> On 11/17/22 17:16, Tom Lane wrote:
>> Not directly, but see REASSIGN OWNED and DROP OWNED.
> SIMULATE and VERBOSE options would be handy, to see what those commands
> would actually do.
Hmph. I'm surprised to realize that those commands don't produce
trace output comparable to DROP CASCADE. If they did, this need
would be met by the traditional hack of "BEGIN; DROP ...; ROLLBACK".
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, ronljohnsonjr@gmail.com, alvherre@alvh.no-ip.org
Subject: Re: Drop role cascade ?
In-Reply-To: <2062953.1668729472@sss.pgh.pa.us>
References: <CAEs=6D=z_1f_FNS6NxYOpS-M8HrrKLmSoM=UY3yA6dznOivt0Q@mail.gmail.com> <2058701.1668727016@sss.pgh.pa.us> <165fba28-443f-c981-ba06-a996b8c81969@gmail.com> <2062953.1668729472@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox