Skip to content

Support partial index for basic usages #64344

@winoros

Description

@winoros

Enhancement

The constraint of the partial index is a simple expression on single columns:

  • Only one expression
  • The form is column op const or column is not null

In general, we will not cache the plan if it hits the partial index.
But we try to support limited cases for the not null constraint

Metadata

Metadata

Assignees

No one assigned

    Labels

    sig/plannerSIG: Plannertype/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions