Wei Weng <wweng(at)kencast(dot)com> writes:
> Since I need to use a GUID as the primary key, I have to use the char
> datatype.
Try uniqueidentifier:
http://archives.postgresql.org/pgsql-announce/2002-07/msg00001.php
Cheers,
Neil
--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC