Re: [HACKERS] user mapping messages

2017-03-01 Thread Ashutosh Bapat
On Thu, Feb 23, 2017 at 8:06 PM, Andrew Dunstan wrote: > > While reviewing the IF NOT EXISTS patch for CREATE USER MAPPING I > noticed that in several places we treat the user name as the name of the > user mapping. Strictly ISTM that user mappings are really

Re: [HACKERS] user mapping messages

2017-02-23 Thread Alvaro Herrera
Andrew Dunstan wrote: > > While reviewing the IF NOT EXISTS patch for CREATE USER MAPPING I > noticed that in several places we treat the user name as the name of the > user mapping. Strictly ISTM that user mappings are really anonymous > objects, so instead of something like user "mapping \"%s\"

[HACKERS] user mapping messages

2017-02-23 Thread Andrew Dunstan
While reviewing the IF NOT EXISTS patch for CREATE USER MAPPING I noticed that in several places we treat the user name as the name of the user mapping. Strictly ISTM that user mappings are really anonymous objects, so instead of something like user "mapping \"%s\" does not exist for the server"