pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Davis <michael.davis@prevuenet.com>
To: pgsql-interfaces@postgreSQL.org
Subject: RE: [INTERFACES] Re: Read-only in MSAccess
Date: Mon, 8 Mar 1999 16:10:55 -0600
Message-ID: <93C04F1F5173D211A27900105AA8FCFC145259@lambic.prevuenet.com> (raw)

I did some brief testing with Access97, the log files did not show any
references to "primary" nor "foreign".  I would to know if it is possible to
get Access to ask the server what the primary keys are?  I know there is an
ODBC function call that an application can use to see what functionality the
driver supports.  I wonder how this called is being handled in the postgres
ODBC driver?  I am sure I will be doing a lot more testing on this in the
near future.

	-----Original Message-----
	From:	Ross J. Reedstrom [SMTP:reedstrm@rice.edu]
	Sent:	Monday, March 08, 1999 3:05 PM
	To:	pgsql-interfaces@postgreSQL.org
	Subject:	Re: [INTERFACES] Re: Read-only in MSAccess

	I've noticed this affect. Has anyone run traces of the connection,
to
	see if Access tries to determine the primary key from the backend?
Does
	this requirement go away if you (manually) set the 'relhaspkey' bool
in
	pg_class for the table?  I'd do all this testing myself, but my NT
test
	box got taken away (yeay! boo! I'm so conflicted...)

	Ross

	Ben Gunter wrote:
	> 
	> (Original message was lost.  Oops.)
	> 
	> I was fiddling around with Access and the ODBC driver this morning
and
	> discovered that Access will not allow you update ODBC sources
unless you pick
	> at least one field (up to ten) as a unique index.  Otherwise, it's
read-only.
	> 
	> Hope this helps.
	> 
	> -Ben

	-- 
	Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
	NSBRI Research Scientist/Programmer
	Computer and Information Technology Institute
	Rice University, 6100 S. Main St.,  Houston, TX 77005



view thread (3+ messages)

Message-ID: <93C04F1F5173D211A27900105AA8FCFC145259@lambic.prevuenet.com>
Permalink:  ../93C04F1F5173D211A27900105AA8FCFC145259@lambic.prevuenet.com/
Also on:    postgresql.org/message-id/93C04F1F5173D211A27900105AA8FCFC145259@lambic.prevuenet.com

 · 

reply

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-interfaces@postgresql.org
  Cc: michael.davis@prevuenet.com
  Subject: Re: [INTERFACES] Re: Read-only in MSAccess
  In-Reply-To: <93C04F1F5173D211A27900105AA8FCFC145259@lambic.prevuenet.com>
  References: <93C04F1F5173D211A27900105AA8FCFC145259@lambic.prevuenet.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