Re: CREATE DOMAIN should also include an example of use with functions

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Eric Bréchemier <postgresql(at)eric(dot)brechemier(dot)name>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: CREATE DOMAIN should also include an example of use with functions
Date: 2017-04-05 17:26:34
Message-ID: 51d06cb0-f782-83b3-62ac-62f45b95664c@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On 4/5/17 06:09, Eric Bréchemier wrote:
> Hi Peter,
>
> I find no mention of operators on this page:
>
> "This example creates the us_postal_code data type and then uses the
> type in a table definition."
> https://www.postgresql.org/docs/9.6/static/sql-createdomain.html#AEN79068

It uses the ~ operator in the domain definition in the example.

Perhaps you should send in an example of your own to explain what you mean.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2017-04-06 21:49:18 Window function docs
Previous Message Peter Eisentraut 2017-04-05 04:43:29 Re: Consistent capitalization of procedural languages