Jeff Gold <jgold(at)mazunetworks(dot)com> writes:
> Excellent! Does index_create refer to something that is invoked as a
> consequence of CREATE INDEX? I'm looking through the code on our side
> and can't find any obvious places where we recreate indexes, but I might
> just be missing something.
TRUNCATE and CLUSTER both rebuild indexes, so they'd also trigger the
leak.
regards, tom lane