pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Eric Bréchemier <postgresql@eric.brechemier.name>
Cc: pgsql-docs@postgresql.org
Subject: Re: CREATE DOMAIN should also include an example of use with functions
Date: Wed, 5 Apr 2017 13:26:34 -0400
Message-ID: <51d06cb0-f782-83b3-62ac-62f45b95664c@2ndquadrant.com> (raw)
In-Reply-To: <CAPQoPgiOn1K3GDUAmaSiemSy+yNQ-5LHqxuWKENOSAsskLXTfw@mail.gmail.com>
References: <20170202204935.1400.31181@wrigleys.postgresql.org>
	<b34b07ba-872b-964f-2bd8-91fd03b7d8ae@2ndquadrant.com>
	<CAPQoPgiOn1K3GDUAmaSiemSy+yNQ-5LHqxuWKENOSAsskLXTfw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (3+ messages)

Message-ID: <51d06cb0-f782-83b3-62ac-62f45b95664c@2ndquadrant.com>
Permalink:  ../51d06cb0-f782-83b3-62ac-62f45b95664c@2ndquadrant.com/
Also on:    postgresql.org/message-id/51d06cb0-f782-83b3-62ac-62f45b95664c@2ndquadrant.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-docs@postgresql.org
  Cc: peter.eisentraut@2ndquadrant.com, postgresql@eric.brechemier.name
  Subject: Re: CREATE DOMAIN should also include an example of use with functions
  In-Reply-To: <51d06cb0-f782-83b3-62ac-62f45b95664c@2ndquadrant.com>
  References: <20170202204935.1400.31181@wrigleys.postgresql.org> <b34b07ba-872b-964f-2bd8-91fd03b7d8ae@2ndquadrant.com> <CAPQoPgiOn1K3GDUAmaSiemSy+yNQ-5LHqxuWKENOSAsskLXTfw@mail.gmail.com> <51d06cb0-f782-83b3-62ac-62f45b95664c@2ndquadrant.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox