Re: Generating config stuff from single source - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Generating config stuff from single source
Date
Msg-id 200602202308.24887.peter_e@gmx.net
Whole thread Raw
In response to Re: Generating config stuff from single source  (Martijn van Oosterhout <kleptog@svana.org>)
List 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/


pgsql-hackers by date:

Previous
From: elein
Date:
Subject: Re: Domains and supporting functions
Next
From: Tom Lane
Date:
Subject: Re: dropped columns, tupDesc