From: Collin Peters <cadiolis@gmail.com>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Insert into VIEW using RULE. Not possible to use nextval()?
Date: Thu, 3 May 2007 11:30:09 -0700
Message-ID: <df01c91b0705031130qc75dfd5qc58e5c9d6cba33bf@mail.gmail.com> (raw)
In-Reply-To: <662419.466.qm@web31804.mail.mud.yahoo.com>
References: <df01c91b0705031004vbedf4d8h8c76a102617e9ccb@mail.gmail.com>
<662419.466.qm@web31804.mail.mud.yahoo.com>
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@yahoo.com> wrote:
>
> --- Collin Peters <cadiolis@gmail.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?
>
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: cadiolis@gmail.com, rabroersma@yahoo.com
Subject: Re: Insert into VIEW using RULE. Not possible to use nextval()?
In-Reply-To: <df01c91b0705031130qc75dfd5qc58e5c9d6cba33bf@mail.gmail.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