Re: Affected rows count by rule as condtition

From: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
To: mito <milos(dot)orszag(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Affected rows count by rule as condtition
Date: 2009-04-13 16:27:20
Message-ID: 3073cc9b0904130927k17fb18c5obaf87ba6b3b7de08@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Apr 13, 2009 at 11:12 AM, mito <milos(dot)orszag(at)gmail(dot)com> wrote:
>
> It need to simulate unique constraint on field s_users.new_id, so it should
> deny to update multiple rows with same value.
>
> Any suggestions are welcome.
>

why not simply create a UNIQUE constraint?

--
Atentamente,
Jaime Casanova
Soporte y capacitación de PostgreSQL
Asesoría y desarrollo de sistemas
Guayaquil - Ecuador
Cel. +59387171157

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-04-13 16:35:13 Re: Affected rows count by rule as condtition
Previous Message mito 2009-04-13 16:12:24 Affected rows count by rule as condtition