X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 8FCFDD1B45A for ; Sat, 3 Jan 2004 05:58:52 +0000 (GMT) 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 28950-05 for ; Sat, 3 Jan 2004 01:58:04 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 38F68D1B4AE for ; Sat, 3 Jan 2004 01:58:03 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id i035vs19019197; Sat, 3 Jan 2004 00:57:54 -0500 (EST) To: Chris Trawick Cc: pgsql-performance@postgresql.org Subject: Re: "fun with multipart primary keys" hobby kit In-reply-to: <1073108262.733.27.camel@unity.basin.cultured.net> References: <1073108262.733.27.camel@unity.basin.cultured.net> Comments: In-reply-to Chris Trawick message dated "Sat, 03 Jan 2004 00:37:43 -0500" Date: Sat, 03 Jan 2004 00:57:54 -0500 Message-ID: <19196.1073109474@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/13 X-Sequence-Number: 5188 Chris Trawick writes: > contactid | bigint | not null ^^^^^^ > Am I reading this right? Is it only using half of the fully-qualified > pk index? How do I diagnose this? Has anyone seen this before? Surely you've been around here long enough to remember the must-cast-bigint-constants problem. regards, tom lane