Tom Lane writes:
> BTW, I just thought of a small improvement to your patch that eliminates
> some of the ugliness. Suppose that when we recognize an attempt to
> connect as a global user (ie, feature flag is on and last character of
> username is '@'), we strip off the '@' before proceeding.
I'm missing how hard it is to change "last character of username is @" to
"no @ in username". This would seem to be a two-line change somewhere.
I'm concerned that we leave essentially no migration path, that is, the
ability to turn the feature on to try it out without immediately breaking
every application.
--
Peter Eisentraut peter_e@gmx.net