public inbox for [email protected]  
help / color / mirror / Atom feed
From: Christoph Moench-Tegeder <[email protected]>
To: Igor Korot <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Why there is no records?
Date: Tue, 17 Feb 2026 01:03:43 +0100
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+FnnTw9zGdkdhT75qzA-dWBzbQB+QrMB-sx=+bcLA72DoRSzQ@mail.gmail.com>
References: <CA+FnnTw9zGdkdhT75qzA-dWBzbQB+QrMB-sx=+bcLA72DoRSzQ@mail.gmail.com>

## Igor Korot ([email protected]):

> draft=# SELECT n.nspname, c.oid FROM pg_constraint c, pg_namespace n
> WHERE c.oid = n.oid AND c.conname = 'leagues_pkey';

Because you're joining on the wrong column, see 3rd row of
https://www.postgresql.org/docs/current/catalog-pg-constraint.html

Regards,
Christoph

-- 
Spare Space






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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: Why there is no records?
  In-Reply-To: <[email protected]>

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

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