From: | "Collin Peters" <cadiolis(at)gmail(dot)com> |
---|---|
To: | "Richard Broersma Jr" <rabroersma(at)yahoo(dot)com> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Insert into VIEW using RULE. Not possible to use nextval()? |
Date: | 2007-05-03 18:30:09 |
Message-ID: | df01c91b0705031130qc75dfd5qc58e5c9d6cba33bf@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
The exact problem is that you can't use nextval() with an INSERTable VIEW
Problem is the same as that in this post:
http://archives.postgresql.org/pgsql-sql/2003-07/msg00333.php
On 5/3/07, Richard Broersma Jr <rabroersma(at)yahoo(dot)com> wrote:
>
> --- Collin Peters <cadiolis(at)gmail(dot)com> wrote:
>
> > I am having the same problem that is documented elsewhere in the
> > archives. Namely when you have a INSERT RULE on a VIEW the nextval()
> > function doesn't behave properly (or it doesn't behave how I'd like it
> > to).
> >
> > http://archives.postgresql.org/pgsql-sql/2003-07/msg00333.php
> >
>
> Is your problem that you can't insert more than one record at a time into your INSERTable VIEW?
>
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Broersma Jr | 2007-05-03 19:26:42 | Re: Insert into VIEW using RULE. Not possible to use nextval()? |
Previous Message | Richard Broersma Jr | 2007-05-03 17:26:59 | Re: Insert into VIEW using RULE. Not possible to use nextval()? |