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 4FD6DD1BB7B for ; Wed, 7 Apr 2004 18:21:56 -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 17832-01 for ; Wed, 7 Apr 2004 18:21:56 -0300 (ADT) Received: from megazone.bigpanda.com (megazone.bigpanda.com [64.147.171.210]) by svr1.postgresql.org (Postfix) with ESMTP id F3C7ED1BAEA for ; Wed, 7 Apr 2004 18:21:53 -0300 (ADT) Received: by megazone.bigpanda.com (Postfix, from userid 1001) id BED2635775; Wed, 7 Apr 2004 14:21:54 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by megazone.bigpanda.com (Postfix) with ESMTP id BD5FD35741; Wed, 7 Apr 2004 14:21:54 -0700 (PDT) Date: Wed, 7 Apr 2004 14:21:54 -0700 (PDT) From: Stephan Szabo To: Jaime Casanova Cc: pgsql-admin@postgresql.org Subject: Re: [admin] index in pk In-Reply-To: Message-ID: <20040407141946.N75206@megazone.bigpanda.com> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200404/126 X-Sequence-Number: 13099 On Wed, 7 Apr 2004, Jaime Casanova wrote: > hi all, there is a way to use my own index with pk constraint instead of the > implicitly created one? > why? just because i don't like the name, maybe can i change the generated > name? You should be able use the full version with the constraint naming clause: CONSTRAINT PRIMARY KEY to make the name of the index.