public inbox for [email protected]  
help / color / mirror / Atom feed
From: Julien Rouhaud <[email protected]>
To: Igor Korot <[email protected]>
Cc: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Does WITHOUT OVERLAPS boolean stored somewhere?
Date: Sat, 28 Mar 2026 13:04:56 +0800
Message-ID: <acdheJh41B7sM2PG@jrouhaud> (raw)
In-Reply-To: <CA+FnnTywbXTAYp1vbPERX_q1+k1qF02RNj+tR_LNbEtMVRLB=g@mail.gmail.com>
References: <CA+FnnTywbXTAYp1vbPERX_q1+k1qF02RNj+tR_LNbEtMVRLB=g@mail.gmail.com>

Hi,

On Fri, Mar 27, 2026 at 11:54:12PM -0500, Igor Korot wrote:
> Hi,
> I can use WITHOUT OVERLAPS when creating the PK.
>
> But is it stored somewhere?
>
> I mean can I write a query like "SELECT without_overlaps FROM ..."
> and get the value of T/F or 1/0 which will indicate if the clause was used?

It's the conperiod attribute of pg_constraint, see
https://www.postgresql.org/docs/current/catalog-pg-constraint.html for all use
cases.






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: Does WITHOUT OVERLAPS boolean stored somewhere?
  In-Reply-To: <acdheJh41B7sM2PG@jrouhaud>

* 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