Re: Avoiding repeating simple field definitions

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: Guyren Howe <guyren(at)gmail(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Avoiding repeating simple field definitions
Date: 2017-02-02 15:29:25
Message-ID: f0124d66-3de4-6470-4c89-9e7deaf96a58@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 02/02/2017 07:20 AM, Guyren Howe wrote:
> I saw a thing somewhere about avoiding repeating the same field
> definitions. So an app I’m working on uses an exactly 6-character sting
> as an identifier, which appears in many places.

The thing would be?

Can you show an example of the 6 character string and how it is used in
multiple places?

What is your concern?

>
> IIRC, the thing I read proposed defining a type AS IMPLICIT, but I’m not
> sure. Mainly because the docs urge caution with using AS IMPLICIT.
>
> Thoughts?

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John R Pierce 2017-02-02 15:32:33 Re: Avoiding repeating simple field definitions
Previous Message Guyren Howe 2017-02-02 15:20:38 Avoiding repeating simple field definitions