postbox giridhar <giridharpostbox@xxxxxxxxx> writes: > Is it possible to lock a database user after several failed login attempts. No such thing is built into PG. You can use external authentication solutions, such as PAM, for this and related requirements. regards, tom lane