X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6A042D1B4FD for ; Tue, 27 Apr 2004 12:14:26 -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 32819-04 for ; Tue, 27 Apr 2004 12:14:23 -0300 (ADT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 50717D1B475 for ; Tue, 27 Apr 2004 12:14:23 -0300 (ADT) Received: (qmail 17086 invoked from network); 27 Apr 2004 15:14:18 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 27 Apr 2004 15:14:18 -0000 Subject: Re: [JDBC] [PERFORM] is a good practice to create an index on the From: Dave Cramer Reply-To: pg@fastcrypt.com To: Christopher Kings-Lynne Cc: Edoardo Ceccarelli , "pgsql-jdbc@postgresql.org" , pgsql-performance@postgresql.org, pgsql-admin@postgresql.org In-Reply-To: <408E75C2.5060703@familyhealth.com.au> References: <408D3AE8.5020006@axa.it> <408DC9E1.8020704@familyhealth.com.au> <1083067187.14759.178.camel@localhost.localdomain> <408E75C2.5060703@familyhealth.com.au> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1083079114.14759.204.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Tue, 27 Apr 2004 11:18:34 -0400 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) 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: 200404/321 X-Sequence-Number: 13294 Edoardo, Are you using them for referential integrity? If so you would be wise to use sequences instead. Christopher: yes you are correct, I wasn't sure if that is what he was doing. Dave On Tue, 2004-04-27 at 11:01, Christopher Kings-Lynne wrote: > > AFAIK, oids aren't used for anything internally, so duplicates don't > > really matter. Besides, what would you do about duplicate oid's ? > > If he's using them _externally_, then he does have to worry about > duplicates. > > Chris > > > > !DSPAM:408e75e0137721921318500! > > -- Dave Cramer 519 939 0336 ICQ # 14675561