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 B26FD52B3F for ; Mon, 25 Jul 2005 11:59:44 -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 98620-10 for ; Mon, 25 Jul 2005 14:59:35 +0000 (GMT) Received: from ls405.htnet.hr (ls405.htnet.hr [195.29.150.97]) by svr1.postgresql.org (Postfix) with ESMTP id D4C6852C49 for ; Mon, 25 Jul 2005 11:59:34 -0300 (ADT) Received: from ls422.t-com.hr (ls422.t-com.hr [195.29.150.237]) by ls405.htnet.hr (0.0.0/8.12.10) with ESMTP id j6PExWt8005490; Mon, 25 Jul 2005 16:59:32 +0200 Received: from ls422.t-com.hr (ls422.t-com.hr [127.0.0.1]) by ls422.t-com.hr (Qmlai) with ESMTP id 1CFEB988042; Mon, 25 Jul 2005 16:59:33 +0200 (CEST) Received: from ls422.t-com.hr (ls422.t-com.hr [127.0.0.1]) by ls422.t-com.hr (Qmlai) with ESMTP id 06F9698803F; Mon, 25 Jul 2005 16:59:33 +0200 (CEST) Received: from zlatkovyfkpgz6 (ad5-m127.net.t-com.hr [195.29.133.127]) by ls422.t-com.hr (Qmlai) with SMTP id E98B98B8055; Mon, 25 Jul 2005 16:59:31 +0200 (CEST) Message-ID: <002801c59129$76b2e790$a4748353@zlatkovyfkpgz6> From: =?iso-8859-2?Q?Zlatko_Mati=E6?= To: "Andreas" Cc: References: <003301c59076$6ca069c0$d9778353@zlatkovyfkpgz6> <42E4F1B7.2000609@gmx.net> Subject: Re: psqlodbc-08_00_0101 does not work with Ms Access Date: Mon, 25 Jul 2005 16:58:56 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=response Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.108 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/136 X-Sequence-Number: 5601 OK..thanks for information. I didn't know that. Greetings, Zlatko ----- Original Message ----- From: "Andreas" To: "Zlatko Matiæ" Cc: Sent: Monday, July 25, 2005 4:05 PM Subject: Re: [ODBC] psqlodbc-08_00_0101 does not work with Ms Access > > 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. > > > > > > > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org