Re: Own messages for constraints?

From: "hubert depesz lubaczewski" <depesz(at)gmail(dot)com>
To: "Jeff Davis" <pgsql(at)j-davis(dot)com>
Cc: "Kacper Chrapa" <k(dot)chrapa(at)wp(dot)pl>, pgsql-general(at)postgresql(dot)org
Subject: Re: Own messages for constraints?
Date: 2007-03-19 18:08:41
Message-ID: 9e4684ce0703191108vd57e41chb304f6548cfec21a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3/19/07, Jeff Davis <pgsql(at)j-davis(dot)com> wrote:
> You can use an AFTER trigger instead of a CHECK constraint (but that may
> have a performance impact - test for your application).

are you sure you meant AFTER? why? generally data-checks should be in
before triggers. i guess.

depesz

--
http://www.depesz.com/ - nowy, lepszy depesz

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Magnus Hagander 2007-03-19 18:10:52 Re: cannot get build (initdb) to work after trying for a week
Previous Message Jeff Davis 2007-03-19 17:40:58 Re: Own messages for constraints?