pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Boylan, Ross <Ross.Boylan@ucsf.edu>
To: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Semi-unable to add new records to table--primary key needed?
Date: Sun, 22 Dec 2019 17:52:52 -0800
Message-ID: <f3ea5e0e-67ad-e454-e1bb-71f63e389d69@aklaver.com> (raw)
In-Reply-To: <BYAPR05MB5736A83FE4E7F3FAC2023B56872F0@BYAPR05MB5736.namprd05.prod.outlook.com>
References: <DM6PR05MB5740B3492AD0AEE1EF5600DC872C0@DM6PR05MB5740.namprd05.prod.outlook.com>
	<9c113278-3593-92dc-fbe5-7e3e0018218a@gmail.com>
	<be2e9263-bf72-aa3d-efb9-58c1fa63bffd@aklaver.com>
	<BYAPR05MB5736F5AEA09659E58AE47A5B872C0@BYAPR05MB5736.namprd05.prod.outlook.com>
	<66c14222-ac25-e9f5-7a29-3ccebb26e987@aklaver.com>
	<BYAPR05MB57367A1351FF2BEB0D88B4CB872C0@BYAPR05MB5736.namprd05.prod.outlook.com>
	<85eb0351-57dd-85f5-cb24-03ef38a39008@aklaver.com>
	<BYAPR05MB5736EC5DD6F043A5107862AA872F0@BYAPR05MB5736.namprd05.prod.outlook.com>
	<945e9b48-81a7-d5c0-9bc1-e5c611502236@aklaver.com>
	<BYAPR05MB573627502612B1A2EE3CC33D872F0@BYAPR05MB5736.namprd05.prod.outlook.com>
	<bccb5c7b-5a2c-f653-6e0c-f58290d88763@aklaver.com>
	<BYAPR05MB5736A83FE4E7F3FAC2023B56872F0@BYAPR05MB5736.namprd05.prod.outlook.com>

On 12/22/19 4:02 PM, Boylan, Ross wrote:

>> 5) At this point it seems your data is going to live in two worlds and
> in the end it will fall on you to maintain the integrity between the worlds.
> 
> That's what I'm afraid of.
> 
> The data itself lives only on the backend, but information about it lives in both places.

To make things more interesting table relationships can be hidden in the 
Relations tab:

"On the Design tab, in the Relationships group, click All Relationships.

This displays all of the defined relationships in your database. Note 
that hidden tables (tables for which the Hidden check box in the table's 
Properties dialog box is selected) and their relationships will not be 
shown unless the Show Hidden Objects check box is selected in the 
Navigation Options dialog box."

> 
> I'm not sure that the relationship synchronization issue is limited to cases with a server backend.  Even the file based data, managed directly by Access, has foreign key relations in it (I'm pretty sure), and those too could be out of sync with the Relation objects describing that same data.

Pretty sure that FK's show up in the Relations tab as:

" If you enforce referential integrity for this relationship, the line 
appears thicker at each end. In addition, the number 1 appears over the 
thick portion of the line on one side of the relationship, and the 
infinity symbol (∞) appears over the thick portion of the line on the 
other side."

> 
> I also probably need a better understanding of when operations happen in Access SQL vs being passed through to the server.

Yeah.

The Postgres side can be dealt with by looking at the server log. You 
can also enable the ODBC logging, though right now I cannot remember how 
to do that.

Don't know how you would do that for the internal Access side of things.


> 
> Ross
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (15+ messages)

Message-ID: <f3ea5e0e-67ad-e454-e1bb-71f63e389d69@aklaver.com>
Permalink:  ../f3ea5e0e-67ad-e454-e1bb-71f63e389d69@aklaver.com/
Also on:    postgresql.org/message-id/f3ea5e0e-67ad-e454-e1bb-71f63e389d69@aklaver.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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, Ross.Boylan@ucsf.edu
  Subject: Re: Semi-unable to add new records to table--primary key needed?
  In-Reply-To: <f3ea5e0e-67ad-e454-e1bb-71f63e389d69@aklaver.com>
  References: <DM6PR05MB5740B3492AD0AEE1EF5600DC872C0@DM6PR05MB5740.namprd05.prod.outlook.com> <9c113278-3593-92dc-fbe5-7e3e0018218a@gmail.com> <be2e9263-bf72-aa3d-efb9-58c1fa63bffd@aklaver.com> <BYAPR05MB5736F5AEA09659E58AE47A5B872C0@BYAPR05MB5736.namprd05.prod.outlook.com> <66c14222-ac25-e9f5-7a29-3ccebb26e987@aklaver.com> <BYAPR05MB57367A1351FF2BEB0D88B4CB872C0@BYAPR05MB5736.namprd05.prod.outlook.com> <85eb0351-57dd-85f5-cb24-03ef38a39008@aklaver.com> <BYAPR05MB5736EC5DD6F043A5107862AA872F0@BYAPR05MB5736.namprd05.prod.outlook.com> <945e9b48-81a7-d5c0-9bc1-e5c611502236@aklaver.com> <BYAPR05MB573627502612B1A2EE3CC33D872F0@BYAPR05MB5736.namprd05.prod.outlook.com> <bccb5c7b-5a2c-f653-6e0c-f58290d88763@aklaver.com> <BYAPR05MB5736A83FE4E7F3FAC2023B56872F0@BYAPR05MB5736.namprd05.prod.outlook.com> <f3ea5e0e-67ad-e454-e1bb-71f63e389d69@aklaver.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