From: | Bruce Momjian <bruce(at)momjian(dot)us> |
---|---|
To: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Chris Browne <cbbrowne(at)acm(dot)org>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Lessons from commit fest |
Date: | 2008-04-17 14:12:59 |
Message-ID: | 200804171412.m3HECxI06576@momjian.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Alvaro Herrera wrote:
> Bruce Momjian wrote:
> > Magnus Hagander wrote:
>
> > > IIRC, last time I tried it, the failure was because I couldn't get it
> > > to build the proper typedefs. Any chance you could just put a regularly
> > > updated typedefs file somewhere that I could wget down?
> >
> > Have you tried the CVS version? It should support typedefs on Linux? I
> > can put a continually-updated version on my ftp site if people want it.
>
> A typedef file generated from a single build is no good. We need at
> least one for a regular Unix and another one from Windows. The set of
> typedefs is different.
>
> If everyone is expected to generate the typedef on their local builds,
> then the pgindent output will be different for every developer, thus
> generating lots of spurious changes. This is not acceptable nor useful.
The source code is the same for both Unix and Windows but you are right
some typedefs are only visible on windows. I think most are from
EXEC_BACKEND so compiling with/without that should help but then you
have to merge the typedef lists, of course.
I count 2481 typedefs found on my build. I don't think we have to find
every single typedef in the system for pgindent to be useful, but if we
want people to be able to use this we should choose a single typedef
file and all use that. I am willing to create a standard one for
everyone and upload it daily to the community ftp server. It will not
be perfect but I can improve it as people make suggestions.
--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ If your life is a hard drive, Christ can be your backup. +
From | Date | Subject | |
---|---|---|---|
Next Message | Simon Riggs | 2008-04-17 14:15:21 | Re: MERGE SQL Statement |
Previous Message | Bruce Momjian | 2008-04-17 14:08:17 | Re: Lessons from commit fest |