| From: | フブキダイスキ <zhrt1446384557(at)gmail(dot)com> |
|---|---|
| To: | pgsql-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | \di+ cannot show the same name indexes |
| Date: | 2023-07-13 07:17:17 |
| Message-ID: | CALY6Dr8UktTu6eNVASKJUyOY-NibeA5USNpe-Wax8Crmd82zGA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
After I create the same name index on the heap table and the temporary
table, I can only get the temporary table's index by \di+.
create table t1(c1 int);
create temp table t2(c1 int);
create index idx1 on t1(c1);
\di+
List of relations
Schema | Name | Type | Owner | Table | Size | Description
--------+------+-------+-------+-------+--------+-------------
public | idx1 | index | zhrt | t1 | 128 kB |
(1 row)
create index idx1 on t2(c1);
\di+
List of relations
Schema | Name | Type | Owner | Table | Size | Description
-------------+------+-------+-------+-------+--------+-------------
pg_temp_298 | idx1 | index | zhrt | t2 | 128 kB |
(1 row)
Is it the expected bavior?
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Julien Rouhaud | 2023-07-13 07:29:03 | Re: \di+ cannot show the same name indexes |
| Previous Message | Richard Guo | 2023-07-13 07:12:29 | Re: Check lateral references within PHVs for memoize cache keys |