Re: schemapg.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: schemapg.h
Дата
Msg-id 7134.1250175238@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: schemapg.h  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane escribi�:
>> Indeed, and it fails to get rid of all the dull declarations :-(.

> Right.  I don't think we're going to move forward if we only accept
> giant steps at a time, and we simultaneously reject patches that are too
> intrusive.

I'm okay with small steps as long as they're small steps in the right
direction ;-).  I'm not convinced that this script is the right
direction.

>> I thought the idea was to generate all this stuff directly from the C
>> struct declarations (plus some hardwired knowledge about the
>> datatypes, comparable to what is in TypInfo in bootstrap.c already).

> Hmm, perhaps that's workable.  I'll have a look around.

OK.  It might be interesting to see if this can be unified somehow with
what the bootstrap.c code does.  (However, since that runs at initdb
time not during compilation, there may not be any reasonable way to
unify the two.)
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: trigger functions can only be called as triggers
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Filtering dictionaries support and unaccent dictionary