public inbox for [email protected]
help / color / mirror / Atom feedFrom: jian he <[email protected]>
To: Philip Couling <[email protected]>
Cc: [email protected]
Subject: Re: Validating check constraints without a table scan?
Date: Wed, 20 Nov 2024 17:45:39 +0800
Message-ID: <CACJufxEeiT7kDS=x8jC25n+vtmxPQsW9zN_qgEtbpqH4dF-Dyw@mail.gmail.com> (raw)
In-Reply-To: <CANWftzK2MZ7Js_56V+ZcLxZyH1utBZx4uEg03P7Cee86K2roCQ@mail.gmail.com>
References: <CANWftzK2MZ7Js_56V+ZcLxZyH1utBZx4uEg03P7Cee86K2roCQ@mail.gmail.com>
On Fri, Nov 15, 2024 at 4:38 PM Philip Couling <[email protected]> wrote:
>
> Is there a solid reason why adding a check constraint does not use existing indexes for validation.
>
can you give an sql example (except not-null)
where indexes can be used for check constraint validation?
i am not sure I understand it correctly.
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Validating check constraints without a table scan?
In-Reply-To: <CACJufxEeiT7kDS=x8jC25n+vtmxPQsW9zN_qgEtbpqH4dF-Dyw@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox