pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stefan Kaltenbrunner <stefan@kaltenbrunner.cc>
To: Jim C. Nasby <decibel@decibel.org>
Cc: Chander Ganesan <chander@otg-nc.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: Domains versus Check Constraints
Date: Sun, 27 May 2007 18:34:22 +0200
Message-ID: <4659B30E.5000802@kaltenbrunner.cc> (raw)
In-Reply-To: <20070527155942.GN92628@nasby.net>
References: <465320B5.7050305@otg-nc.com>
	<20070527155942.GN92628@nasby.net>

Jim C. Nasby wrote:
> 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).

since 8.2 domain constraints are enforced everywhere ...


Stefan



view thread (3+ messages)

Message-ID: <4659B30E.5000802@kaltenbrunner.cc>
Permalink:  ../4659B30E.5000802@kaltenbrunner.cc/
Also on:    postgresql.org/message-id/4659B30E.5000802@kaltenbrunner.cc

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: stefan@kaltenbrunner.cc, decibel@decibel.org, chander@otg-nc.com
  Subject: Re: Domains versus Check Constraints
  In-Reply-To: <4659B30E.5000802@kaltenbrunner.cc>

* 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