Re: question about deparsing const node and its typmod

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: question about deparsing const node and its typmod
Дата
Msg-id 20191.1238681821@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: question about deparsing const node and its typmod  ("Tao Ma" <feng_eden@163.com>)
Ответы Re: question about deparsing const node and its typmod  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Список pgsql-hackers
"Tao Ma" <feng_eden@163.com> writes:
> Is it really important to show the
> 'bpchar' if there is no any explicit casting for the column default value.

Yeah.  We cannot say "char" because per SQL spec, that means "char(1)",
but there mustn't be a restriction to a single character here.

regression=# select 'abc'::char;bpchar 
--------a
(1 row)

regression=# select 'abc'::bpchar;bpchar 
--------abc
(1 row)

        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Path case sensitivity on windows
Следующее
От: Tom Lane
Дата:
Сообщение: Re: 8.4 open items list