pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard Huxton <dev@archonet.com>
To: chetzacoalt@free.fr
Cc: pgsql-sql@postgresql.org
Subject: Re: catch an 'update  where false' ?
Date: Mon, 15 Aug 2005 09:24:38 +0100
Message-ID: <43005146.3020605@archonet.com> (raw)
In-Reply-To: <42FF436B.8030701@free.fr>
References: <EKEMKEFLOMKDDLIALABIGEEFCBAA.lvaningen@esncc.com>
	<42FF436B.8030701@free.fr>

santiago wrote:
> Hi
> 
> thanks all for your answers !
> 
> to Lane Van Ingen:
> my purpose is to write a trigger on update so that 'users' might then us
> update without having to perform the if found. 

Of course the other option is to make sure there is always a row 
available to update. Impossible to say whether this is sensible without 
knowing the precise details of your problem.
-- 
   Richard Huxton
   Archonet Ltd



view thread (6+ messages)  latest in thread

Message-ID: <43005146.3020605@archonet.com>
Permalink:  ../43005146.3020605@archonet.com/
Also on:    postgresql.org/message-id/43005146.3020605@archonet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: dev@archonet.com, chetzacoalt@free.fr
  Subject: Re: catch an 'update  where false' ?
  In-Reply-To: <43005146.3020605@archonet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox