Denis Perchine <dyp@perchine.com> writes:
> Relation idescs[Num_pg_index_indices]; ^^^^^^^^
Dunno whether you have Num_pg_largeobject_indices =
Num_pg_index_indices, but in any case there's a latent
stack clobber here.
> CommandCounterIncrement();
Are you sure it's a good idea to be incrementing the CC here?
This seems like a pretty low-level routine, so there might be
people further up the stack who do not want this done.
regards, tom lane