public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: Ron Clarke <[email protected]>
Cc: Greg Sabino Mullane <[email protected]>
Cc: Ertan Küçükoglu <[email protected]>
Cc: pgsql-general <[email protected]>
Subject: Re: Domains vs data types
Date: Wed, 20 Aug 2025 10:01:30 -0700
Message-ID: <CAKFQuwYY0OkYMG+uuBNecaAnn7H9HFQ1NDoM3wq-pqZwdJepgg@mail.gmail.com> (raw)
In-Reply-To: <CAGVf-sMLRbWsff5x3_s6vGisQCLy7LPTmJMOWoyaORy6yBC+Wg@mail.gmail.com>
References: <CAH2i4yf_M5NfX_kDu6_2Z+sgqLOZK9vCsF3EfmwZQyYFuAMxpg@mail.gmail.com>
	<CAKAnmmJfh2hPk8v597tRNVhM9_4oCQmTtJ6CVqHAp4hO0qPj6Q@mail.gmail.com>
	<CAGVf-sMLRbWsff5x3_s6vGisQCLy7LPTmJMOWoyaORy6yBC+Wg@mail.gmail.com>

On Wed, Aug 20, 2025 at 9:57 AM Ron Clarke <[email protected]> wrote:

> ...and ensure the same defaults, nulls etc are applied accross tables.
>

Just as a warning - a deviation we have from the SQL Standard regarding
domains and their NOT NULL constraints makes specifying one on a domain a
bit of a potential trap.  Rely on column NOT NULL.

David J.


view thread (4+ messages)

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], [email protected], [email protected]
  Subject: Re: Domains vs data types
  In-Reply-To: <CAKFQuwYY0OkYMG+uuBNecaAnn7H9HFQ1NDoM3wq-pqZwdJepgg@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