"Tom Lane" <tgl@sss.pgh.pa.us> writes:
>
> He's right, you're not: that check is only applied in the
> password-based authorization path.
>
> This has always seemed a bit bogus to me too --- would not object to
> a well-thought-out patch to change it.
>
If we add a "VALID UNTIL" column in pg_hba.conf, then will work for all
authorization path?
Regards,
Qingqing