Thread: Performance & key data type

Performance & key data type

From
Renato De Giovanni
Date:
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