Re: A trigger question

From: "Chansup Byun" <byun1067(at)gmail(dot)com>
To: "Bruno Wolff III" <bruno(at)wolff(dot)to>, "Chansup Byun" <byun1067(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: A trigger question
Date: 2006-12-20 19:08:21
Message-ID: 5deb54410612201108j2ea0750pebc8e12161984201@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 12/20/06, Bruno Wolff III <bruno(at)wolff(dot)to> wrote:
> On Mon, Dec 18, 2006 at 22:18:43 -0500,
> Chansup Byun <byun1067(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bob Pawley 2006-12-20 19:12:30 Re: Starting Postgresql
Previous Message Ray Stell 2006-12-20 19:07:37 Re: Starting Postgresql