Re: BUG #14242: Role with a setconfig "role" setting to a nonexistent role causes pg_upgrade to fail

Nathan Bossart <bossartn@amazon.com>

From: "Bossart, Nathan" <bossartn@amazon.com>
To: "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Date: 2016-07-11T22:48:08Z
Lists: pgsql-bugs

Attachments

A simple fix for this issue would be to temporarily create the role just for the ALTER ROLE SET command generated by pg_dumpall.  I've attached a patch that does this.
 
Nathan

Commits

  1. Fix some inappropriately-disallowed uses of ALTER ROLE/DATABASE SET.