"=?utf-8?Q?frank=5Flupo?=" <frank_lupo(at)email(dot)it> writes:
> I have a problem to verify user to lock a object database. The corrspondenc=
> e pid from pg_loks to pg_stat_activity not found.
Hm, you sure that PID 500 didn't simply quit between the time you
examined one table and the time you examined the other?
regards, tom lane