Skip site navigation (1) Skip section navigation (2)

Re: audit information

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: KeithW(at)narrowpathinc(dot)com
Cc: PostgreSQL Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: audit information
Date: 2005-04-25 21:08:49
Message-ID: 24328.1114463329@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-novice
"Keith Worthington" <keithw(at)narrowpathinc(dot)com> writes:
> Is there a reason not to store the user name as type name?

I'd use text; name is fixed-width and will waste space on trailing
blanks.  (Same objection to char(64) of course.)

> I am assuming there is no reason to use varchar(64).

Not particularly.

			regards, tom lane

In response to

pgsql-novice by date

Next:From: Keith WorthingtonDate: 2005-04-26 02:52:39
Subject: Poor-man's enumeration type
Previous:From: Keith WorthingtonDate: 2005-04-25 18:26:32
Subject: Re: audit information

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group