View and primary key - Mailing list pgsql-general

From Adrian Klaver
Subject View and primary key
Date
Msg-id 200211220551.16547.aklaver@attbi.com
Whole thread Raw
Responses Re: View and primary key  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
List pgsql-general
I have set up a view with rules for insert,update and delete. I would like to
be able to use this view from OpenOffice, however it will not allow editing
of a table without a primary key. I cannot create a primary key because
Postgresql says the column does not have a NOT NULL constraint. This column
in the underlying table is NOT NULL. Is there a way to create a primary key
on a view?

                                   Thank you
                                    Adrian Klaver

pgsql-general by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: how do i find out when a record was created/modified?
Next
From: Felipe Schnack
Date:
Subject: EXECUTE problems