| From: | Igor Korot <ikorot01(at)gmail(dot)com> |
|---|---|
| To: | "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org> |
| Subject: | Why there is no records? |
| Date: | 2026-02-16 23:59:46 |
| Message-ID: | CA+FnnTw9zGdkdhT75qzA-dWBzbQB+QrMB-sx=+bcLA72DoRSzQ@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Hi,
draft=# SELECT n.nspname, c.oid FROM pg_constraint c, pg_namespace n
WHERE c.oid = n.oid AND c.conname = 'leagues_pkey';
nspname | oid
---------+-----
(0 rows)
draft=# SELECT * FROM pg_constraint WHERE conname = 'leagues_pkey';
oid | conname | connamespace | contype | condeferrable |
condeferred | convalidated | conrelid | contypid | conindid |
conparentid | confrelid | confupdtype | confdeltype | confmatchtype |
conislocal | coninhcount | connoinherit | conkey | confkey | conpfeqop
| conppeqop | conffeqop | confdelsetcols | conexclop | conbin
-------+--------------+--------------+---------+---------------+-------------+--------------+----------+----------+----------+-------------+-----------+-------------+-------------+---------------+------------+-------------+--------------+--------+---------+-----------+-----------+-----------+----------------+-----------+--------
16395 | leagues_pkey | 2200 | p | f | f
| t | 16390 | 0 | 16394 | 0 |
0 | | | | t |
0 | t | {1} | | | |
| | |
(1 row)
Thank you.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Moench-Tegeder | 2026-02-17 00:03:43 | Re: Why there is no records? |
| Previous Message | Durgamahesh Manne | 2026-02-16 19:10:08 | Re: pgbouncer transaction pool mode issue for prepared statements |