Avoiding repeating simple field definitions

From: Guyren Howe <guyren(at)gmail(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Avoiding repeating simple field definitions
Date: 2017-02-02 15:20:38
Message-ID: 8A417EFD-AF9A-4577-8A76-A01D50860421@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.

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?

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-02-02 15:29:25 Re: Avoiding repeating simple field definitions
Previous Message Job 2017-02-02 13:57:28 R: (solved) R: Very strange problem on index