pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rafal Kedziorski <rafcio@polonium.de>
To: pgsql-sql@postgresql.org
Subject: which type for primary key?
Date: Tue, 11 Feb 2003 10:16:15 +0100
Message-ID: <3E48BF5F.1060403@polonium.de> (raw)

Hi,

I'm working on J2EE project with PostgreSQL (7.3.2). I know, that a 
number type is better for primary key as string. I want create primary 
keys as NUMBER(20). Is this a good idea? what will be a performance for 
this length?


Best Regards,
Rafal




view thread (2+ messages)  latest in thread

Message-ID: <3E48BF5F.1060403@polonium.de>
Permalink:  ../3E48BF5F.1060403@polonium.de/
Also on:    postgresql.org/message-id/3E48BF5F.1060403@polonium.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: rafcio@polonium.de
  Subject: Re: which type for primary key?
  In-Reply-To: <3E48BF5F.1060403@polonium.de>

* 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