11.7. Indexes on Expressions - Mailing list pgsql-docs

From PG Doc comments form
Subject 11.7. Indexes on Expressions
Date
Msg-id 163967385701.26064.15365003480975321072@wrigleys.postgresql.org
Whole thread Raw
Responses Re: 11.7. Indexes on Expressions  (Bruce Momjian <bruce@momjian.us>)
List pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/14/indexes-expressional.html
Description:

Regarding the paragraph (_emphasis_ added):

> Index expressions are relatively expensive to maintain, because the
derived expression(s) must be computed for _each row upon insertion and
whenever it is updated_.

Does the "it" in the above refer to the entire row or just the columns used
in the expression? Does updating any column of a row trigger an update to
all indexes with expressions? 

Thanks in advance for your time and reply.

Cheers,
Chris Lowder

pgsql-docs by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: bad style for SECURITY DEFINER
Next
From: Bruce Momjian
Date:
Subject: Re: 11.7. Indexes on Expressions