Re: Single Byte values - Mailing list pgsql-general

From Joel Rees
Subject Re: Single Byte values
Date
Msg-id 20030407104846.DCBE.JOEL@alpsgiken.gr.jp
Whole thread Raw
In response to Re: Single Byte values  (Antti Haapala <antti.haapala@iki.fi>)
List pgsql-general
> It's often better use int4(8) than char(1) as (primary) keys.

A thought from a rank newb, how about using the a misnamed ascii(), and
storing the integer code for the characters you want to use as short
keys in integer fields?

--
Joel Rees <joel@alpsgiken.gr.jp>


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: PHP as PL
Next
From: Lonni Friedman
Date:
Subject: Re: unable to dump database, toast errors