Re: A trigger question - Mailing list pgsql-general

From Chansup Byun
Subject Re: A trigger question
Date
Msg-id 5deb54410612201108j2ea0750pebc8e12161984201@mail.gmail.com
Whole thread Raw
In response to Re: A trigger question  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-general
On 12/20/06, Bruno Wolff III <bruno@wolff.to> wrote:
> 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?
>
Yes, I found that from a private email. it works great.

Thanks,

- Chansup

pgsql-general by date:

Previous
From: "Raymond O'Donnell"
Date:
Subject: Re: Merry Christmas!
Next
From: "Angva"
Date:
Subject: Re: out of memory woes