Re: Disallow whole-row index references with virtual generated columns? - Mailing list pgsql-hackers

From ZizhuanLiu X-MAN
Subject Re: Disallow whole-row index references with virtual generated columns?
Date
Msg-id tencent_088D1AAB71089EA52D87166CE2E6DBC7F205@qq.com
Whole thread
In response to Disallow whole-row index references with virtual generated columns?  (Ayush Tiwari <ayushtiwari.slg01@gmail.com>)
List pgsql-hackers
Hi everyone,

Thanks a lot for all the patches, tests and insightful discussions so far.

From the current status, PostgreSQL already permits creating indexes with whole-row references.
However, there exists inconsistent handling between such indexes and the query planner during runtime.
As a result, these indexes cannot work as expected, including failures in index scan, index-only scan and
partial predicate matching.

Given this situation, I intend to improve the related logic to provide better index support for
both whole-row references and virtual generated columns.

Therefore, I am sending this proposal: Support virtual generated columns in index expressions and predicates.

regards,
--
ZizhuanLiu (X-MAN)
44973863@qq.com

pgsql-hackers by date:

Previous
From: "ZizhuanLiu X-MAN"
Date:
Subject: Proposal: Support virtual generated columns in index expressions and predicates
Next
From: vignesh C
Date:
Subject: Re: Proposal: Conflict log history table for Logical Replication