Re: pgindent weirdness
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Bruce Momjian <bruce@momjian.us>
Cc: Andrew Dunstan <andrew@dunslane.net>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-04-20T16:04:16Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Latest consolidated typedef list from buildfarm.
- fe1438da8aa8 9.1.0 cited
Bruce Momjian <bruce@momjian.us> writes: > Tom Lane wrote: >> Now having said that, there seems to be a pgindent bug here too, in that >> it's throwing a space into >> >> Buffer >> RelationGetBufferForTuple(Relation relation, Size len, >> Buffer otherBuffer, int options, >> struct BulkInsertStateData * bistate) >> >> Whether BulkInsertStateData is flagged as a typedef or not, surely it >> ought to understand that "struct BulkInsertStateData" is a type name. > Uh, I think we have this listed as a known bug at the top of the > pgindent script: Hm. I guess the third observation is that in the current state of the code, there's no very good reason to be using "struct" in RelationGetBufferForTuple's prototype anyway, since the typedef is declared right above it. Maybe we should just change that and not risk fooling with pgindent. regards, tom lane