X-Original-To: pgsql-odbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 24E1552C4C for ; Mon, 25 Jul 2005 11:03:33 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 83844-08 for ; Mon, 25 Jul 2005 14:03:24 +0000 (GMT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by svr1.postgresql.org (Postfix) with SMTP id A127E52B6F for ; Mon, 25 Jul 2005 11:03:22 -0300 (ADT) Received: (qmail invoked by alias); 25 Jul 2005 14:03:23 -0000 Received: from p54AC653A.dip.t-dialin.net (EHLO [192.168.0.108]) [84.172.101.58] by mail.gmx.net (mp012) with SMTP; 25 Jul 2005 16:03:23 +0200 X-Authenticated: #14269776 Message-ID: <42E4F1B7.2000609@gmx.net> Date: Mon, 25 Jul 2005 16:05:43 +0200 From: Andreas User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.7.10) Gecko/20050716 X-Accept-Language: de-de, en-us, en MIME-Version: 1.0 To: =?ISO-8859-2?Q?Zlatko_Mati=E6?= Cc: pgsql-odbc@postgresql.org Subject: Re: psqlodbc-08_00_0101 does not work with Ms Access References: <003301c59076$6ca069c0$d9778353@zlatkovyfkpgz6> In-Reply-To: <003301c59076$6ca069c0$d9778353@zlatkovyfkpgz6> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit X-Y-GMX-Trusted: 0 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/135 X-Sequence-Number: 5600 Zlatko Matiæ schrieb: > several columns! You must use non-floating NUMERICAL field (long) as > primary > key. The best is to use autoincrement (BIGSERIAL) field as primary key. > So, add bigserial fields to all your tables, make them primary keys > and it > will solve your problems with "#Deleted". BIGserials are 8 byte integers. Access can handle only 4 byte integer fields. The ODBC driver maps the bigints down to 4 bytes as default setting. If Access can't actually use the additional 4 bytes why bloat the tables and add maintenance work to the driver? It's all fine if your bigserials stay small enough. Access "Long Integer" are signed and therefore range from -2.147.483.648 to 2.147.483.647. That matches "integer" in PG.