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
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