From: Hiroshi Inoue <inoue@tpf.co.jp>
To: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: Update-able View linked to Access
Date: Tue, 12 Dec 2006 10:16:04 +0900
Message-ID: <457E02D4.7080506@tpf.co.jp> (raw)
In-Reply-To: <938243.53161.qm@web31814.mail.mud.yahoo.com>
References: <938243.53161.qm@web31814.mail.mud.yahoo.com>
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
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp, rabroersma@yahoo.com
Subject: Re: Update-able View linked to Access
In-Reply-To: <457E02D4.7080506@tpf.co.jp>
References: <938243.53161.qm@web31814.mail.mud.yahoo.com> <457E02D4.7080506@tpf.co.jp>
* 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