"is_superuser" parameter creates inconsistencies - Mailing list pgsql-hackers

From Peter Eisentraut
Subject "is_superuser" parameter creates inconsistencies
Date
Msg-id Pine.LNX.4.56.0307272039460.1197@krusty.credativ.de
Whole thread Raw
Responses Re: "is_superuser" parameter creates inconsistencies  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Presumably, the "is_superuser" parameter was intended to make the updating
of psql's prompt more accurate when SET SESSION AUTHORIZATION is used.
However, if the prompt is customized to include the user name (%n), then
the prompt changes to reflect the real superuser status, but does not
change the user name.  I guess we need to pass "session_user" as well.

-- 
Peter Eisentraut   peter_e@gmx.net


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Passing server_encoding to the client is not future-proof
Next
From: Tom Lane
Date:
Subject: Re: Equivalent of PQresultErrorField for PGconn?