Skip site navigation (1) Skip section navigation (2)

void UPDATE function?

From: Adam Haberlach <adam(at)newsnipple(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: void UPDATE function?
Date: 2000-12-28 18:02:23
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-general
	What is a good way to trigger an UPDATE of a row without actually
changing anything?  I have a trigger that will update the timestamp
of a record, and in this case, want to trigger it because I am
adding a related row in another table.

UPDATE bugs WHERE pkey='3'

Doesn't seem to work.

Adam Haberlach            |A cat spends her life conflicted between a
adam(at)newsnipple(dot)com       |deep, passionate, and profound desire for |fish and an equally deep, passionate, and
'88 EX500                 |profound desire to avoid getting wet.


pgsql-general by date

Next:From: Francis SolomonDate: 2000-12-28 18:05:14
Subject: RE: void UPDATE function?
Previous:From: Chris GreenDate: 2000-12-28 16:48:46
Subject: authenticating local users

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group