Re: schemapg.h

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Robert Haas <robertmhaas(at)gmail(dot)com>
Subject: Re: schemapg.h
Date: 2009-08-13 14:53:58
Message-ID: 7134.1250175238@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oleg Bartunov 2009-08-13 14:57:13 Re: Filtering dictionaries support and unaccent dictionary
Previous Message Tom Lane 2009-08-13 14:36:57 Re: trigger functions can only be called as triggers