Re: Dead code in Create/RenameRole() after RoleSpec changes related to CURRENT/SESSION_USER - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Dead code in Create/RenameRole() after RoleSpec changes related to CURRENT/SESSION_USER
Date
Msg-id 20150720164837.GU2301@postgresql.org
Whole thread Raw
In response to Dead code in Create/RenameRole() after RoleSpec changes related to CURRENT/SESSION_USER  (Jeevan Chalke <jeevan.chalke@enterprisedb.com>)
List pgsql-hackers
Jeevan Chalke wrote:

> I found some dead code in CREATE/RENAME ROLE code path.
> 
> We have introduced RoleSpec and handled public and none role names in
> grammar
> itself. We do have these handling in CreateRole() and RenameRole()
> which is NO more valid now.

Right.


> Attached patch to remove those.

Pushed.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Typo in comment in setrefs.c
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] object_classes array is broken, again