"PostgreSQL Bugs List" <pgsql-bugs(at)postgresql(dot)org> writes:
> ==> yikes! in window 2, it should have errored.
Why are you of the opinion that this is a bug? The catalog lookup has
to happen before the second xact can hope to obtain a lock on the table,
no?
regards, tom lane