Re: Allowing REINDEX to have an optional name - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: Allowing REINDEX to have an optional name
Date
Msg-id 20220720122707.GI12702@telsasoft.com
Whole thread Raw
In response to Re: Allowing REINDEX to have an optional name  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Allowing REINDEX to have an optional name
List pgsql-hackers
On Tue, Jul 19, 2022 at 01:13:34PM +0900, Michael Paquier wrote:
> > It looks like you named the table "toast_relfilenodes", but then also store
> > to it data for non-toast tables.
> 
> How about naming that index_relfilenodes?  One difference with what I
> posted previously and 5fb5b6 is the addition of an extra regclass that
> stores the parent table, for reference in the output.

Looks fine

> -    'CREATE TABLE toast_relfilenodes (parent regclass, indname regclass, relfilenode oid);'
> +    'CREATE TABLE index_relfilenodes (parent regclass, indname regclass, relfilenode oid);'

-- 
Justi



pgsql-hackers by date:

Previous
From: Bharath Rupireddy
Date:
Subject: Re: Use "WAL segment" instead of "log segment" consistently in user-facing messages
Next
From: "houzj.fnst@fujitsu.com"
Date:
Subject: RE: Support logical replication of DDLs