Re: Two round for Client Authentication

2018-06-14 Thread Yinjie Lin
Many thanks to Marko and David for your reply. It really helped. Now I am playing with extension auth_delay, which uses ClientAuthentication_hook. But I find it not easy to distinguish the first connection of psql from the second one with empty password, since the variable 'status' are both STATUS

Two round for Client Authentication

2018-06-13 Thread Yinjie Lin
Hello everyone. I am a newcomer to PostgreSQL, and I don't know if it is proper to post my question here, but I really need some help. Currently I am reading and testing code about Client Authentication, but I find that there are two progresses forked if I login using psql, while only one progres