in commands/cluster.c, in function cluster, we define NewIndexName as:
char NewIndexName[NAMEDATALEN]; /* line 93 */
in function copy_index, we define it as:
char *NewIndexName; /* line 246 */
And then palloc(NAMEDATALEN) before it gets used...
Now, which we use doesn't much matter to me, but I would think some sort
of consistency would be in order...or am I missing something as far as
each are concerned? Is one method inheriently faster then another, or do
they have about the same performance characteristics?
Marc G. Fournier
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org