Questions about "varchar" NOT NULL default = char(1) ? - Mailing list pgsql-general

From Emi Lu
Subject Questions about "varchar" NOT NULL default = char(1) ?
Date
Msg-id 4329D629.8030203@cs.concordia.ca
Whole thread Raw
Responses Re: Questions about "varchar" NOT NULL default = char(1)
List pgsql-general
Greetings,

If one column "col1" is defined as :

col1 varchar(1) not null default ''

Does it means that col1's definition is equal to

col1 char(1) not null default ''


Put it another way, will char '' be saved as char(1) or char '' does not
use space at all?

Thanks a lot,
Emi

pgsql-general by date:

Previous
From: David Fetter
Date:
Subject: Re: Howto create a plperlu function as user (not superuser)??
Next
From: Bart McFarling
Date:
Subject: Re: Deadlock