public inbox for [email protected]  
help / color / mirror / Atom feed
From: Ron Johnson <[email protected]>
To: pgsql-generallists.postgresql.org <[email protected]>
Subject: Re: Domains vs data types
Date: Wed, 20 Aug 2025 11:43:57 -0400
Message-ID: <CANzqJaAK0k8A=FzL4gNmyKoHVbpA5LQVL8+=veaYBXd+i9mw8Q@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAH2i4yf_M5NfX_kDu6_2Z+sgqLOZK9vCsF3EfmwZQyYFuAMxpg@mail.gmail.com>
	<[email protected]>

On Wed, Aug 20, 2025 at 11:05 AM Adrian Klaver <[email protected]>
wrote:
[snip]

>
> Personally I don't see that integer --> aint really helps.
>

No one's going to create the domain "aint", but a DB designer in a rigorous
environment _will_ create multiple, meaningfully-named domains, all of
which happen to be INTEGER.  Makes large-team developing easier.

The alternative is Really Really Long column names, and consistent use of
agreed-upon suffixes.

-- 
Death to <Redacted>, and butter sauce.
Don't boil me, I'm still alive.
<Redacted> lobster!


view thread (2+ 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]
  Subject: Re: Domains vs data types
  In-Reply-To: <CANzqJaAK0k8A=FzL4gNmyKoHVbpA5LQVL8+=veaYBXd+i9mw8Q@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