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 [email protected]
Whole thread Raw
In response to Dead code in Create/RenameRole() after RoleSpec changes related to CURRENT/SESSION_USER  (Jeevan Chalke <[email protected]>)
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