This resulted in useless extra work during every call of parseRelOptions,
but no bad effects other than that. Noted by Alvaro.
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/common/reloptions.c,v 1.33 2010/02/26 02:00:32 momjian Exp $
+ * $PostgreSQL: pgsql/src/backend/access/common/reloptions.c,v 1.34 2010/03/11 21:47:19 tgl Exp $
*
*-------------------------------------------------------------------------
*/
initialize_reloptions(void)
{
int i;
- int j = 0;
+ int j;
+ j = 0;
for (i = 0; boolRelOpts[i].gen.name; i++)
j++;
for (i = 0; intRelOpts[i].gen.name; i++)
/* add a list terminator */
relOpts[j] = NULL;
+
+ /* flag the work is complete */
+ need_initialization = false;
}
/*