From: Tony Caduto <tony_caduto@amsoftwaredesign.com>
To: thewild@freesurf.fr
Cc: pgsql-odbc@postgresql.org
Subject: Re: Access2000 & sequence as primary key in view : #DELETED
Date: Wed, 11 Oct 2006 12:57:06 -0500
Message-ID: <452D3072.5080403@amsoftwaredesign.com> (raw)
In-Reply-To: <452D209E.80303@freesurf.fr>
References: <452CAEC2.5070903@freesurf.fr>
<452D0566.9070600@amsoftwaredesign.com>
<452D0A85.8000204@freesurf.fr>
<452D143A.7010300@amsoftwaredesign.com>
<452D209E.80303@freesurf.fr>
>
> The fact is that we are talking about ODBC here.
> The difference between a table and a view is that in the table one
> record as one value of the sequence, forever. With a linked view in
> access, if I sort the table or query it in anyway new sequence numbers
> are given to all the fields.
>
I really don't see how that is possible. A Postgresql sequence when
used in a Serial Type only generates a value on a insert.
I have tons of views that reference tables with columns that are serial
and they don't regenerate themselves when I sort the table in Access.
Not to mention PG views are read only ( unless you have some rules
defined) The only problem we have had with sorting in access is with
varchars used as function OUT params which Access thinks are memo fields
and we got around that using views that cast them to varchars with lengths.
You have me totally lost as to the problem you are really having :-)
--
Tony Caduto
AM Software Design
http://www.amsoftwaredesign.com
Home of PG Lightning Admin for Postgresql
Your best bet for Postgresql Administration
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: tony_caduto@amsoftwaredesign.com, thewild@freesurf.fr
Subject: Re: Access2000 & sequence as primary key in view : #DELETED
In-Reply-To: <452D3072.5080403@amsoftwaredesign.com>
References: <452CAEC2.5070903@freesurf.fr> <452D0566.9070600@amsoftwaredesign.com> <452D0A85.8000204@freesurf.fr> <452D143A.7010300@amsoftwaredesign.com> <452D209E.80303@freesurf.fr> <452D3072.5080403@amsoftwaredesign.com>
* 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