| From: | Igor Korot <ikorot01(at)gmail(dot)com> |
|---|---|
| To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
| Cc: | "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Where the info is stored |
| Date: | 2026-03-01 01:34:47 |
| Message-ID: | CA+FnnTwEWFq1BopZ4o_kEg3SuZvGE+Xhg1sur=c_HjcZ_FjTag@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
And why there is no WHERE populated?
Thank you.
On Sat, Feb 28, 2026 at 7:05 PM Igor Korot <ikorot01(at)gmail(dot)com> wrote:
>
> Hi, David,
>
> On Sat, Feb 28, 2026 at 7:02 PM David G. Johnston
> <david(dot)g(dot)johnston(at)gmail(dot)com> wrote:
> >
> > On Saturday, February 28, 2026, Igor Korot <ikorot01(at)gmail(dot)com> wrote:
> >>
> >> FROM pg_constraint co, pg_namespace n, pg_class
> >>
> >> As you can see only the constraint name and the tablespace are
> >> populated correctly.
> >
> >
> > Constraints don’t have included columns. Only indexes do. You need to query the index, not the constraint.
>
> I literally copied your query into my code and it didn't populated
> anything...
>
> Am I missing something?
>
> Thank you.
>
> >
> > David J.
> >
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David G. Johnston | 2026-03-01 01:35:14 | Re: Where the info is stored |
| Previous Message | Igor Korot | 2026-03-01 01:05:39 | Re: Where the info is stored |