libpq implements it properly. I'd suggest looking at the client source.
Also, I *think* I have this working correctly in my PQueue module, so if youdon't mind a little Python: import md5 pw = md5.new(self.password + self.keywords['user']).hexdigest() pw = 'md5' + md5.new (pw + authmsg.salt).hexdigest()self.password is the password given by the user.self.keywords['user'] is the user name.authmsg.salt is the salt given by the server.
pgsql-interfaces by date:
Соглашаюсь с условиями обработки персональных данных