X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 0EF26D1EF09 for ; Mon, 3 May 2004 12:14:21 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 07859-03 for ; Mon, 3 May 2004 12:14:04 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id E50D1D1EF89 for ; Mon, 3 May 2004 12:13:59 -0300 (ADT) Received: (qmail 23883 invoked by uid 500); 3 May 2004 15:18:30 -0000 Date: Mon, 3 May 2004 10:18:30 -0500 From: Bruno Wolff III To: Simon Dobie Cc: pgsql-interfaces@postgresql.org Subject: Re: FIXED Problems when using MS Access to display Message-ID: <20040503151830.GA23846@wolff.to> Mail-Followup-To: Simon Dobie , pgsql-interfaces@postgresql.org References: <40958AAA.30707@auditbureau.org.au> <4095E59C.9040904@auditbureau.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4095E59C.9040904@auditbureau.org.au> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200405/11 X-Sequence-Number: 4903 On Mon, May 03, 2004 at 16:24:28 +1000, Simon Dobie wrote: > Its ok, i managed to figure it out. the Primary Key was not being > updated (i did make it auto update in postgress but it doesnt seem to > auto update) so i had to manually change the unique value for the > records (which was the same for each one.) There is no auto update in Postgres. If you are talking about the serial type, it is important to know that it works by having a function get a value from a sequence as a default action. If you actually provide a value for this column when inserting a row, that value will get used instead of using the default action to get a value. If you still have questions about this, if you describe precisely what you are doing we might be able to shed more light on what is happening.