pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone.bigpanda.com>
To: Jaime Casanova <el_vigia_ec@hotmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: [admin] index in pk
Date: Wed, 7 Apr 2004 14:21:54 -0700 (PDT)
Message-ID: <20040407141946.N75206@megazone.bigpanda.com> (raw)
In-Reply-To: <BAY8-F32AR2eS8uqV8j00039b94@hotmail.com>
References: <BAY8-F32AR2eS8uqV8j00039b94@hotmail.com>

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 <name> PRIMARY KEY
to make <name> the name of the index.




view thread (3+ messages)  latest in thread

Message-ID: <20040407141946.N75206@megazone.bigpanda.com>
Permalink:  ../20040407141946.N75206@megazone.bigpanda.com/
Also on:    postgresql.org/message-id/20040407141946.N75206@megazone.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sszabo@megazone.bigpanda.com, el_vigia_ec@hotmail.com
  Subject: Re: [admin] index in pk
  In-Reply-To: <20040407141946.N75206@megazone.bigpanda.com>
  References: <BAY8-F32AR2eS8uqV8j00039b94@hotmail.com> <20040407141946.N75206@megazone.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox