Questions about "varchar" NOT NULL default = char(1) ?

Поиск
Список
Период
Сортировка
От Emi Lu
Тема Questions about "varchar" NOT NULL default = char(1) ?
Дата
Msg-id 4329D629.8030203@cs.concordia.ca
обсуждение исходный текст
Ответы Re: Questions about "varchar" NOT NULL default = char(1)  (Neil Conway <neilc@samurai.com>)
Список 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 по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Howto create a plperlu function as user (not superuser)??
Следующее
От: Bart McFarling
Дата:
Сообщение: Re: Deadlock