Re: Time to get rid of PQnoPasswordSupplied? - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Time to get rid of PQnoPasswordSupplied?
Date
Msg-id 55875392.3080504@BlueTreble.com
Whole thread Raw
In response to Re: Time to get rid of PQnoPasswordSupplied?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Time to get rid of PQnoPasswordSupplied?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 6/19/15 10:35 AM, Tom Lane wrote:
> On the other hand, you could argue that improving the string is going
> to break clients that do the right thing (even if klugily) in order
> to help clients that are doing the wrong thing (ie, failing without
> offering the opportunity to enter a password).  Ideally no client app
> would ever show this message to users and so its readability would not
> matter.

Could we return a HINT? Or is that part of the same string?

I agree that it's probably not worth breaking people that are doing the 
right thing. Perhaps this could be better documented, though I don't 
know where we'd put it (I doubt users would go looking in the libpq api 
docs to find it...)
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: checkpointer continuous flushing
Next
From: Jim Nasby
Date:
Subject: Re: checkpointer continuous flushing