Re: User-defined typle similar to char(length) varchar(length)
В списке pgsql-hackers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: User-defined typle similar to char(length) varchar(length) |
| Дата | |
| Msg-id | 25285.1154636333@sss.pgh.pa.us обсуждение |
| Ответ на | Re: User-defined typle similar to char(length) varchar(length) (Martijn van Oosterhout <kleptog@svana.org>) |
| Ответы |
Re: User-defined typle similar to char(length) varchar(length)
|
| Список | pgsql-hackers |
Martijn van Oosterhout <kleptog@svana.org> writes:
> I'm surprised you got the patch so small. Mind you, you didn't do any
> folding in the productions for NUMERIC and CHAR which in the long term
> would probably need to be done.
Yeah, the patch ought to be making the grammar smaller not bigger.
> Also, there's the issue of converting
> the arguments to a typmod, in the long term it'd have to be
> user-defined per type.
I think we could legislate that the stored typmod is the same as what
the user sees (and can't be negative). The fact that it's different
for some of the built-in types is a historical artifact that I'd love
to get rid of.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера