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 12:41:44 +0900
Message-ID: <457E24F8.1080301@tpf.co.jp> (raw)
In-Reply-To: <457E1889.2060305@tpf.co.jp>
References: <860305.95549.qm@web31810.mail.mud.yahoo.com>
<457E1889.2060305@tpf.co.jp>
Hiroshi Inoue wrote:
> Richard Broersma Jr wrote:
>>> 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.
>>
>> It works now! However, I have a question. If I have a view with more
>> than two joined tables will
>> i need to reference the ctid from each table after the first update
>> statement?
>
> The ctid of the target table of the rule's last statement should be
> referenced.
Please note this is not a perfect solution.
For example, the change of table A can't be detected using the "ctid".
If you update the link table with where clause including "name" field
and update the "name" and the "tiesize" field, the "tiesize" may not
be updated.....
It seems almost impossible for the driver to solve the problems perfectly.
Essentially it's a problem of the rule system.
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: <457E24F8.1080301@tpf.co.jp>
References: <860305.95549.qm@web31810.mail.mud.yahoo.com> <457E1889.2060305@tpf.co.jp> <457E24F8.1080301@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