Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> Both patches are very simple - and they use almost already prepared
> infrastructure.
It's not simple at all to make the psql feature depend on marking
"role" as GUC_REPORT when it never has been before. That will
cause the feature to misbehave when using older servers. I'm
even less impressed by having it fall back on PQuser(), which
would be misleading at exactly the times when it matters.
regards, tom lane