Re: Generating config stuff from single source

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Generating config stuff from single source
Date: 2006-02-20 22:08:24
Message-ID: 200602202308.24887.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout wrote:
> The input file could be simply line based. Attached is a simple
> script that takes the input below and produces something resembling
> what you suggested. It wouldn't be too hard to get it to produce
> multiple output formats and dump the output to different files...
>
> ----
> Group: Query Tuning
> Subgroup: Planner Method Configuration
>
> Name: enable_hashagg
> Context: userset
>
> ... etc ...
> ----

I'm trying out this input format now, processing it with Perl, and it
seems to be quite reasonable. There are a number of special cases,
however, that need to be worked out.

I'm trying to generate guc.c now and once that works I'll report here.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2006-02-20 22:57:04 Re: dropped columns, tupDesc
Previous Message elein 2006-02-20 20:47:42 Re: Domains and supporting functions