Re: SERIAL and RULE of "ON INSERT" kind - Mailing list pgsql-general

From Stephan Szabo
Subject Re: SERIAL and RULE of "ON INSERT" kind
Date
Msg-id 20020624174320.X61359-100000@megazone23.bigpanda.com
Whole thread Raw
In response to SERIAL and RULE of "ON INSERT" kind  ("Tomis³aw Kityñski" <cromax@amiga.pl>)
List pgsql-general
On Mon, 24 Jun 2002, Tomis�aw Kity�ski wrote:

> Is this a bug? Is there a workaround for this (expect inserting
> data manually...)?

IIRC, rules are effectively rewrites and it's just adding extra
queries to the end before any of the queries are evaluated,
so I'd guess the default wasn't yet evaluated.
You might have better luck with a trigger instead.




pgsql-general by date:

Previous
From: Oskar Berggren
Date:
Subject: Re: SQL server application porting headache
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: Astonishing explain...!