Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id C31A49F9F47 for ; Mon, 11 Dec 2006 21:16:10 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-new, port 10024) with ESMTP id 27385-02 for ; Mon, 11 Dec 2006 21:16:05 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sd.tpf.co.jp (mail.tpf.co.jp [210.161.239.34]) by postgresql.org (Postfix) with SMTP id 4E25B9F931E for ; Mon, 11 Dec 2006 21:16:04 -0400 (AST) Received: (qmail 19238 invoked from network); 12 Dec 2006 10:16:03 +0900 Received: from unknown (HELO ?100.0.32.170?) (100.0.32.170) by sd2.tpf-fw-c.co.jp with SMTP; 12 Dec 2006 10:16:03 +0900 Message-ID: <457E02D4.7080506@tpf.co.jp> Date: Tue, 12 Dec 2006 10:16:04 +0900 From: Hiroshi Inoue User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Richard Broersma Jr CC: pgsql-odbc@postgresql.org Subject: Re: Update-able View linked to Access References: <938243.53161.qm@web31814.mail.mud.yahoo.com> In-Reply-To: <938243.53161.qm@web31814.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200612/34 X-Sequence-Number: 8481 Richard Broersma Jr wrote: >> Could you try the following ? >> Add the CTID field of the target table of the last update rule to the >> definition of the view. In your case, try to add husband.ctid to the >> definition of vhusband. > > I am still getting similar errors, only now both columns are locked. > Here is my new view definition: > -------------------------------- > CREATE OR REPLACE VIEW public.vhusband (id, personctid, husbandctid, name, tiesize) AS > SELECT > A.id, A.ctid, B.ctid, A.name, B.tiesize > FROM > public.person as A > INNER JOIN > public.husband as B > ON > A.id = B.ID > ; Please change the field name of B.ctid from hasbandctid to ctid. The name should be "ctid" for the driver to detect the field is for versioning. A.ctid isn't needed. regards, Hiroshi Inoue