pgsql: Fix error case for CREATE ROLE ... IN ROLE.

2020-04-24 Thread Andrew Gierth
Fix error case for CREATE ROLE ... IN ROLE. CreateRole() was passing a Value node, not a RoleSpec node, for the newly-created role name when adding the role as a member of existing roles for the IN ROLE syntax. This mistake went unnoticed because the node in question is used only for error messag

pgsql: Fix error case for CREATE ROLE ... IN ROLE.

2020-04-24 Thread Andrew Gierth
Fix error case for CREATE ROLE ... IN ROLE. CreateRole() was passing a Value node, not a RoleSpec node, for the newly-created role name when adding the role as a member of existing roles for the IN ROLE syntax. This mistake went unnoticed because the node in question is used only for error messag

pgsql: Fix error case for CREATE ROLE ... IN ROLE.

2020-04-24 Thread Andrew Gierth
Fix error case for CREATE ROLE ... IN ROLE. CreateRole() was passing a Value node, not a RoleSpec node, for the newly-created role name when adding the role as a member of existing roles for the IN ROLE syntax. This mistake went unnoticed because the node in question is used only for error messag

pgsql: Fix error case for CREATE ROLE ... IN ROLE.

2020-04-24 Thread Andrew Gierth
Fix error case for CREATE ROLE ... IN ROLE. CreateRole() was passing a Value node, not a RoleSpec node, for the newly-created role name when adding the role as a member of existing roles for the IN ROLE syntax. This mistake went unnoticed because the node in question is used only for error messag

pgsql: Fix error case for CREATE ROLE ... IN ROLE.

2020-04-24 Thread Andrew Gierth
Fix error case for CREATE ROLE ... IN ROLE. CreateRole() was passing a Value node, not a RoleSpec node, for the newly-created role name when adding the role as a member of existing roles for the IN ROLE syntax. This mistake went unnoticed because the node in question is used only for error messag

pgsql: Fix error case for CREATE ROLE ... IN ROLE.

2020-04-24 Thread Andrew Gierth
Fix error case for CREATE ROLE ... IN ROLE. CreateRole() was passing a Value node, not a RoleSpec node, for the newly-created role name when adding the role as a member of existing roles for the IN ROLE syntax. This mistake went unnoticed because the node in question is used only for error messag