Re: Open 7.3 items - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Open 7.3 items
Date
Msg-id Pine.LNX.4.44.0208171946370.3655-100000@localhost.localdomain
Whole thread Raw
In response to Re: Open 7.3 items  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Open 7.3 items
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [PATCHES] Better handling of parse errors
Next
From: Alvar Freude
Date:
Subject: Re: [SECURITY] DoS attack on backend possible (was: Re: