Re: Problems With VIEWS

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Jeanna Geier <jgeier(at)apt-cafm(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Problems With VIEWS
Date: 2007-01-10 22:31:41
Message-ID: 826016.26252.qm@web31809.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> I get an error: "Cannot insert into a view." I
> haven't even viewed it, much less attempted to insert into it; and let's say
> I could get into it, is there anything wrong with my ON INSERT RULE that
> would throw this error? Because on several of my other views, I can get
> into them, but not insert into them when it appears that my ON INSERT
> statements are correct.

Turn on Statement logging in you postgresql.conf file. Try and insert and after it fails examine
the insert statement and notice the error message.
REgards,
Richard Broersma Jr.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Kj 2007-01-10 22:33:33 Re: remove embedded carriage returns
Previous Message Walter Vaughan 2007-01-10 21:52:41 Re: Trying to load MySQL data