| От | Tom Lane |
|---|---|
| Тема | Re: Question about format_type function |
| Дата | |
| Msg-id | 16702.1112579389@sss.pgh.pa.us обсуждение |
| Ответ на | Question about format_type function (Tony Caduto <tony_caduto@amsoftwaredesign.com>) |
| Ответы |
Re: Question about format_type function
|
| Список | pgsql-general |
Tony Caduto <tony_caduto@amsoftwaredesign.com> writes:
> The format_type function is great, except for the way it formats varchars,
> it always returns Character Varying or whatever,
> ...
> I don't know of any other system that shows varchars in this way, they
> should just be formated as varchar(50).
Hmm ... AFAICS, "character varying(n)" and "varchar(n)" are equally
valid spellings according to the SQL spec.
I'd personally prefer the shorter spelling too, but I can't see any
particularly strong argument for changing it.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера