pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter J. Holzer <hjp-pgsql@hjp.at>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: bug regclass::oid
Date: Sun, 16 Jun 2019 14:35:42 -0400
Message-ID: <20270.1560710142@sss.pgh.pa.us> (raw)
In-Reply-To: <20113.1560709920@sss.pgh.pa.us>
References: <CAAC-7YB4HUCZ2pq1FEndxYAzRgy8CcGzU0YGVsNAcDLm6nC6kw@mail.gmail.com>
	<fc6a3ada-db64-a6e1-b5d7-4f4b2882eb4c@aklaver.com>
	<CAAC-7YBGf-i0e-PACrXRUOJ44RerhZqjdep59b1Vc2BsKrcScA@mail.gmail.com>
	<20190616181250.x6l3n7bq2j5z4onq@hjp.at>
	<20113.1560709920@sss.pgh.pa.us>

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





view thread (8+ messages)  latest in thread

Message-ID: <20270.1560710142@sss.pgh.pa.us>
Permalink:  ../20270.1560710142@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20270.1560710142@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, hjp-pgsql@hjp.at
  Subject: Re: bug regclass::oid
  In-Reply-To: <20270.1560710142@sss.pgh.pa.us>
  References: <CAAC-7YB4HUCZ2pq1FEndxYAzRgy8CcGzU0YGVsNAcDLm6nC6kw@mail.gmail.com> <fc6a3ada-db64-a6e1-b5d7-4f4b2882eb4c@aklaver.com> <CAAC-7YBGf-i0e-PACrXRUOJ44RerhZqjdep59b1Vc2BsKrcScA@mail.gmail.com> <20190616181250.x6l3n7bq2j5z4onq@hjp.at> <20113.1560709920@sss.pgh.pa.us> <20270.1560710142@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox