Re: Converting mysql "on update" to postgres "rule"

From: Charles Simard <tech(at)denarius(dot)ca>
To: 'Edward Blake' <comedian(dot)watchman(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Converting mysql "on update" to postgres "rule"
Date: 2008-03-25 19:24:47
Message-ID: E6AE5AD88D55B543A0A97FF0B93AA9E93C3393@TRADE200.DENARIUS.CA
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

<snip>
|> I've tried multiple iterations of how to accomplish this and keep getting
stuck. With the one above, postgres yells and says:
|> ERROR: infinite recursion detected in rules for relation "visit"
|>
|> Any ideas?
</snip>

Look at http://www.postgresql.org/docs/8.3/interactive/plpgsql-trigger.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bill Wordsworth 2008-03-25 20:04:55 Re: PostgreSQL, clusters and load-balance
Previous Message Raymond O'Donnell 2008-03-25 19:22:56 Re: select any table