Closed Rajanpandey closed 8 months ago
Good catch! One comment, SELECT pg_catalog.pg_reload_conf()
is not sufficient to enable the clientauth
feature, instead Postgres needs to be restarted. This is covered in line 352 so I think we can remove the SELECT pg_catalog.pg_reload_conf()
line.
Thanks @adamguo0 ! :D Made the changes. Seems like I got multiple commits, I will do a squash merge so that only 1 commit is shown. (Haven't used github since a while, will figure out my way soon)! :)
Update the SQL command to set enable_clientauth hook in the 2nd example in the hook doc. It has a typo suggesting to activate enable_password_check hook instead.