Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ijCu6-0004Wm-Vg for pgsql-general@arkaria.postgresql.org; Mon, 23 Dec 2019 01:53:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ijCu5-0007dW-QF for pgsql-general@arkaria.postgresql.org; Mon, 23 Dec 2019 01:53:01 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ijCu4-0007dO-Nu for pgsql-general@lists.postgresql.org; Mon, 23 Dec 2019 01:53:01 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ijCu0-0002G4-Rw for pgsql-general@lists.postgresql.org; Mon, 23 Dec 2019 01:53:00 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 6CE3421AFB; Sun, 22 Dec 2019 20:52:54 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Sun, 22 Dec 2019 20:52:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=Z Hz2cCoB1bmRGTF5mY2PglSGWpy/kaXA8Xq29qbbJ8k=; b=h/ReLrkn7hfNXuwD7 K5usqBSohCADBo7CjUp4Z7ynGj8A1ny+MNFigiyWpnlkXP7DfKG4qYt5wZl0Gkbg BSsdgqB4x1mAHJpon3XHQERGZJGvd7jm9dAHB7b+R7yH2YRjsIMhE5L9Kh5Wlok+ VwVih6aMIA6xoO/uebMw+vmG/pz7SCuNh4D+tc8kvPzgtjGsuhkyoOWfWAVblhWm BQsOmAEJTtQAl9mnpbLxD5Y7XTsR2LZ8MjyFuRZU2ouc7GK9yhIHOQGEkNCy8ecc xOX9XT9oSpEdKI7y/ut920EKNz7CPyC5scA3el6WLKMx/oPz3vgGnHOD88Z/ig57 7wn+g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=ZHz2cCoB1bmRGTF5mY2PglSGWpy/kaXA8Xq29qbbJ 8k=; b=cy2e24ZGwL+JVGFDl1XNm/l3EX/wbUlBajkBXPps94KJWOVRClD4Japqv a+WaHGhv+V9sozxQUqb01XiCeHSlZaIiOSiAWEyEcIOhgwin64si0nhoUD9qZXLD u4NAN5yiyEjh6t3bX+ICKpoQhjbmDxaVcBwBYfuWP4mbUHVhWwqbHlyCepzKHHXJ LUYYOAH4SylgNuyVfXITD4T+gGwpOh16seP6MIrPlRhIoG2cOCaX+9/ZKh9N9zSd csjNgzIYPseVw4e4w5vu0+9H392GFbDTxgEhAOXsfKh7fKJVIfKLqOhBd9vCYAG1 ILevpdwAtSOosMI2oSLAkaawjxSOQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvdduledgfeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucfkphepjedurddvuddvrdduvdelrdduleefnecurfgrrhgrmhepmhgrihhlfhhr ohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmnecuvehluhhsth gvrhfuihiivgeptd X-ME-Proxy: Received: from [192.168.1.2] (unknown [71.212.129.193]) by mail.messagingengine.com (Postfix) with ESMTPA id 812D280060; Sun, 22 Dec 2019 20:52:53 -0500 (EST) Subject: Re: Semi-unable to add new records to table--primary key needed? To: "Boylan, Ross" , "pgsql-general@lists.postgresql.org" References: <9c113278-3593-92dc-fbe5-7e3e0018218a@gmail.com> <66c14222-ac25-e9f5-7a29-3ccebb26e987@aklaver.com> <85eb0351-57dd-85f5-cb24-03ef38a39008@aklaver.com> <945e9b48-81a7-d5c0-9bc1-e5c611502236@aklaver.com> From: Adrian Klaver Message-ID: Date: Sun, 22 Dec 2019 17:52:52 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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