Re: MySQL comparable syntax for PostgreSQL

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: douggorley(at)shaw(dot)ca
Cc: Andrew McMillan <andrew(at)catalyst(dot)net(dot)nz>, Ben Clewett <b(dot)clewett(at)roadrunner(dot)uk(dot)com>, pgsql-novice(at)postgresql(dot)org
Subject: Re: MySQL comparable syntax for PostgreSQL
Date: 2003-02-18 03:25:09
Message-ID: 20030218032509.GA8798@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Feb 17, 2003 at 13:05:29 -0800,
douggorley(at)shaw(dot)ca wrote:
>
> Can someone tell me what domains are, and possibly point me towards some relevant documentation?

They are a shorthand for a type plus constraints. This can make maintainance
easier when you have the same constraints in multiple locations.

You can look at the documentation for the create domain command to see
the syntax.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Dhaval Patel 2003-02-18 04:03:39 Problem regarding starting PostgreSQL 7.3.1 on Windows 2000 Professional
Previous Message Josh Berkus 2003-02-18 00:06:32 Re: Re Dynamic IP - pg_hba