Re: Reduce build times of pg_trgm GIN indexes
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Peter Eisentraut <peter@eisentraut.org>,
David Geier <geidav.pg@gmail.com>,
Matthias van de Meent <boekewurm+postgres@gmail.com>,
pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-04-16T17:47:05Z
Lists: pgsql-hackers
Heikki Linnakangas <hlinnaka@iki.fi> writes: > On 16/04/2026 17:37, Tom Lane wrote: >> Not excited about making massive changes for this. > Having all three would be a very localized change in postgres.h. Sure, but *using* them in a consistent way would be invasive. >> I remain far less certain than Peter is that this discussion has >> anything to do with why Coverity is complaining about >> ginExtractEntries. I still think we should make some minimum-effort >> change to see if the complaint goes away before expending a lot of >> brain cells on choosing a final fix. > I think I'm going to commit my proposal to turn PointerGetDatum() back > into a macro, and see if that makes Coverity happy. Then we'll know, and > we can decide on the next steps. Any objections? WFM. regards, tom lane
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Change PointerGetDatum() back to a macro
- d65995cbc6e1 19 (unreleased) landed
-
Replace deprecated StaticAssertStmt() with StaticAssertDecl()
- 66ad764c8d51 19 (unreleased) landed
-
Optimize sorting and deduplicating trigrams
- 9f3755ea07aa 19 (unreleased) landed
-
Optimize sort and deduplication in ginExtractEntries()
- 6f5ad00ab763 19 (unreleased) landed
-
Inline ginCompareAttEntries for speed
- bba81f9d3d4f 19 (unreleased) landed