Re: 9.5 BLOCKER: regrole and regnamespace and quotes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 9.5 BLOCKER: regrole and regnamespace and quotes
Date: 2016-01-04 02:16:05
Message-ID: 23298.1451873765@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> writes:
> regrole and regnamespace don't run their output through quote_ident().
> That's contrary to all the other reg* operators.

> Worse, they also don't *allow* quoted input. Not only is that different
> from reg*, it's the *opposite*:

I'm inclined to think that you're right, and that this is something that
ought to be changed. It's not quite too late ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2016-01-04 02:19:48 Re: 9.5 BLOCKER: regrole and regnamespace and quotes
Previous Message Peter Geoghegan 2016-01-04 02:12:02 Re: Broken lock management in policy.c.