Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)

Поиск
Список
Период
Сортировка
От Thomas Lockhart
Тема Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)
Дата
Msg-id 38C52478.42D74BAF@alumni.caltech.edu
обсуждение исходный текст
Ответ на Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: BIT/BIT VARYING names (was Re: [HACKERS] Beta for 4:30AST)
Список pgsql-hackers
> > format_type(name[, int4]) that formats an internal type and any size
> > modifier for client consumption, like
> >       format_type('varchar', 8)     => "CHARACTER VARYING(8)"
> >       format_type('my type')        => "\"my type\""
> >       format_type('numeric', {xxx}) => "NUMERIC(9,2)"

Ooh, that *is* a good idea (though the exact name of the function may
evolve)! Sorry I missed seeing it in Peter's earlier postings.

Funny how we can go for years banging our heads on an issue and have
something like this (ie a good idea on the subject) pop up out of the
blue.

Presumably we would include a function taking the conversion the other
direction too...
                    - Thomas

-- 
Thomas Lockhart                lockhart@alumni.caltech.edu
South Pasadena, California


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: ECPG restructuring
Следующее
От: Thomas Lockhart
Дата:
Сообщение: CREATE VIEW fix