Re: A trigger question

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: Chansup Byun <byun1067(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: A trigger question
Date: 2006-12-20 17:35:03
Message-ID: 20061220173503.GA16001@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2006-12-20 17:53:55 Re: inheritance
Previous Message Derrick Stensrud 2006-12-20 17:19:27 Re: postgres kerberos how to