pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Pavel Borisov <pashkin.elfe@gmail.com>
Cc: Steve Chavez <steve@supabase.io>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: nathandbossart@gmail.com
Cc: pgsql-hackers@postgresql.org
Subject: Re: Allow placeholders in ALTER ROLE w/o superuser
Date: Mon, 05 Dec 2022 12:18:42 -0500
Message-ID: <3311900.1670260722@sss.pgh.pa.us> (raw)
In-Reply-To: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql>
References: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql>

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> I couldn't find any discussion of the idea of adding "(s)" to the
> variable name in order to mark the variable userset in the catalog, and
> I have to admit I find it a bit strange.  Are we really agreed that
> that's the way to proceed?

I hadn't been paying close attention to this thread, sorry.

I agree that that seems like a very regrettable choice,
especially if you anticipate having to bump catversion anyway.
Better to add a bool column to the catalog.

			regards, tom lane





view thread (49+ messages)  latest in thread

Message-ID: <3311900.1670260722@sss.pgh.pa.us>
Permalink:  ../3311900.1670260722@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/3311900.1670260722@sss.pgh.pa.us

 · 

reply

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-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, aekorotkov@gmail.com, pashkin.elfe@gmail.com, steve@supabase.io, horikyota.ntt@gmail.com, nathandbossart@gmail.com
  Subject: Re: Allow placeholders in ALTER ROLE w/o superuser
  In-Reply-To: <3311900.1670260722@sss.pgh.pa.us>
  References: <20221205171120.pvg6v2kdyswvzzca@alvherre.pgsql> <3311900.1670260722@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