2009/6/5 Marcelo Cardoso de Souza <marceloc...@gmail.com>:
>
> Me desculpem a ignorancia, pois estou começando agora com PostGres.
>
> É que eu precisava saber as implicações de usar ou não o OID nas tabelas.
>


Do manual:
http://www.postgresql.org/docs/current/interactive/datatype-oid.html

"The oid type is currently implemented as an unsigned four-byte
integer. Therefore, it is not large enough to provide database-wide
uniqueness in large databases, or even in large individual tables. So,
using a user-created table's OID column as a primary key is
discouraged. OIDs are best used only for references to system tables."

Osvaldo
_______________________________________________
pgbr-geral mailing list
pgbr-geral@listas.postgresql.org.br
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a