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

From Jeevan Chalke
Subject Dead code in Create/RenameRole() after RoleSpec changes related to CURRENT/SESSION_USER
Date
Msg-id CAM2+6=XURdesjwGfSKbsQOzEu+PsH7UZF71w5S_Rd5JYyrjKJg@mail.gmail.com
Whole thread Raw
Responses Re: Dead code in Create/RenameRole() after RoleSpec changes related to CURRENT/SESSION_USER  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
Hi,

I found some dead code in CREATE/RENAME ROLE code path.
Attached patch to remove those.

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.

Here is the related commit:
commit 31eae6028eca4365e7165f5f33fee1ed0486aee0
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date:   Mon Mar 9 15:41:54 2015 -0300

    Allow CURRENT/SESSION_USER to be used in certain commands ...


Thanks

--
Jeevan B Chalke
Principal Software Engineer, Product Development
EnterpriseDB Corporation
The Enterprise PostgreSQL Company

Attachment

pgsql-hackers by date:

Previous
From: Shay Rojansky
Date:
Subject: Re: Cancel race condition
Next
From: David Rowley
Date:
Subject: The Future of Aggregation