Re: [HACKERS] Beta for 4:30AST ... ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Beta for 4:30AST ... ?
Дата
Msg-id 1422.951286471@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Beta for 4:30AST ... ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [HACKERS] Beta for 4:30AST ... ?  (Peter Eisentraut <e99re41@DoCS.UU.SE>)
Re: [HACKERS] Beta for 4:30AST ... ?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> Somehow you have to do something similar to
>> insert OID = 9999 ( bit varying PGUID 1 1 t b t \054 0 0 bitvaryingin ... )

> Huh, I still don't get it.  What is the matter with that insert?

The space in the type name is gonna confuse things.

>> And no, naming the type bit_varying internally is not an acceptable
>> answer. ;) We might want to start thinking about this item before national
>> character comes our way. (Or just document the solution, if it already
>> exists.)

AFAICS the solution would have to be similar to what we already do for
CHARACTER VARYING: parse the type declaration specially in gram.y,
and translate it to an internal type name.

gram.y already knows about NATIONAL CHARACTER [ VARYING ] too, BTW.
Seems to just translate it into bpchar or varchar :-( ... but the
syntax problem is solved.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: about 7.0 LIMIT optimization
Следующее
От: "Vladimír Beneš"
Дата:
Сообщение: Re: [HACKERS] Out of memory problem (forwarded bug report)