To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=96716
User simonaw changed the following:
What |Old value |New value
================================================================================
Ever confirmed| |1
--------------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
--------------------------------------------------------------------------------
Issue type|DEFECT |ENHANCEMENT
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Sat Jun 13 16:51:29
+0000 2009 -------
Checked to see if PostgreSQL itself (natively) can insert into views what is
*NOT* the case. If I am wrong please feel free to correct me.
This is what I did:
demo=# \d packages
Table "public.packages"
Column | Type | Modifiers
----------+------------------------+-------------------------------------------------------
id | bigint | not null default
nextval('packages_id_seq'::regclass)
name | character varying(100) |
version | character varying(20) |
url | character varying(200) |
licenses | character varying(50) |
groups | character varying(100) |
size | numeric |
idate | date |
descr | text |
demo=# create view vw_testqa as SELECT packages.id,packages.name from packages
LIMIT 10;
demo=# insert into vw_testqa (name) values ('asdasdasd asd');
ERROR: cannot insert into a view
HINT: You need an unconditional ON INSERT DO INSTEAD rule.
I am not an expert on how the rule system works and neither do I know how
difficult it'd be to implement that in the OOo PSQL driver.
Setting to ENHANC
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]