pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jim C. Nasby <decibel@decibel.org>
To: Chander Ganesan <chander@otg-nc.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Domains versus Check Constraints
Date: Sun, 27 May 2007 10:59:42 -0500
Message-ID: <20070527155942.GN92628@nasby.net> (raw)
In-Reply-To: <465320B5.7050305@otg-nc.com>
References: <465320B5.7050305@otg-nc.com>

On Tue, May 22, 2007 at 12:56:21PM -0400, Chander Ganesan wrote:
> Are there any performance improvements that come from using a domain 
> over a check constraint (aside from the ease of management component)?

No. Plus support for domain constraints isn't universal (plpgsql doesn't
honor them, for example).
-- 
Jim Nasby                                      decibel@decibel.org
EnterpriseDB      http://enterprisedb.com      512.569.9461 (cell)

view thread (3+ messages)  latest in thread

Message-ID: <20070527155942.GN92628@nasby.net>
Permalink:  ../20070527155942.GN92628@nasby.net/
Also on:    postgresql.org/message-id/20070527155942.GN92628@nasby.net

 · 

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-performance@postgresql.org
  Cc: decibel@decibel.org, chander@otg-nc.com
  Subject: Re: Domains versus Check Constraints
  In-Reply-To: <20070527155942.GN92628@nasby.net>
  References: <465320B5.7050305@otg-nc.com> <20070527155942.GN92628@nasby.net>

* 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