pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Renato De Giovanni <rdg@viafractal.com.br>
To: pgsql-sql@postgresql.org
Subject: Performance & key data type
Date: Thu, 18 Jan 2001 10:01:44 -0200
Message-ID: <3A66DB28.D667A4F3@viafractal.com.br> (raw)

Hi,

In Postgres, which one should be the best data type to be used as
primary/foreign key considering query performance: INT or CHAR? Is there
any "remarkable" difference between them?

Thank you and regards,
--
Renato
Sao Paulo - SP - Brasil
rdg@viafractal.com.br





Message-ID: <3A66DB28.D667A4F3@viafractal.com.br>
Permalink:  ../3A66DB28.D667A4F3@viafractal.com.br/
Also on:    postgresql.org/message-id/3A66DB28.D667A4F3@viafractal.com.br

 · 

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-sql@postgresql.org
  Cc: rdg@viafractal.com.br
  Subject: Re: Performance & key data type
  In-Reply-To: <3A66DB28.D667A4F3@viafractal.com.br>
  References: <3A66DB28.D667A4F3@viafractal.com.br>

* 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