Re: bug regclass::oid - Mailing list pgsql-general

From Tom Lane
Subject Re: bug regclass::oid
Date
Msg-id 20270.1560710142@sss.pgh.pa.us
Whole thread Raw
In response to Re: bug regclass::oid  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I wrote:
> ... I'd suggest recasting this as a join between
> pg_catalog and pg_attribute, which would make the join condition
> just "where c.oid = a.attrelid".

Sigh, that should be "between pg_class and pg_attribute" of course.
I'm really only firing on one cylinder today :-(

            regards, tom lane



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug regclass::oid
Next
From: Alvaro Herrera
Date:
Subject: Re: checkpoints taking much longer than expected