Re: A trigger question - Mailing list pgsql-general

From Bruno Wolff III
Subject Re: A trigger question
Date
Msg-id 20061220173503.GA16001@wolff.to
Whole thread Raw
In response to A trigger question  ("Chansup Byun" <byun1067@gmail.com>)
Responses Re: A trigger question  ("Chansup Byun" <byun1067@gmail.com>)
List pgsql-general
On Mon, Dec 18, 2006 at 22:18:43 -0500,
  Chansup Byun <byun1067@gmail.com> wrote:
> Hi,
>
> I'm trying to set up a trigger to prevent any duplicate entries into
> my table. But I couldn't figure out how to make my trigger work.

Couldn't you use a unique constraint to do this?

pgsql-general by date:

Previous
From: Derrick Stensrud
Date:
Subject: Re: postgres kerberos how to
Next
From: Bruno Wolff III
Date:
Subject: Re: inheritance