--- trunk/pgswish.c 2005/02/20 21:54:39 17 +++ trunk/pgswish.c 2005/02/20 22:58:25 18 @@ -217,7 +217,6 @@ PG_FUNCTION_INFO_V1(pgswish2); Datum pgswish2(PG_FUNCTION_ARGS) { - int ncols = 2; int nrows = 3; int16 typlen; bool typbyval; @@ -231,7 +230,7 @@ MemoryContext oldcontext; Datum dvalue; char **values; - int rsinfo_ncols; + int ncols; int i, j; /* check to see if caller supports us returning a tuplestore */ @@ -243,14 +242,12 @@ /* get the requested return tuple description */ tupdesc = rsinfo->expectedDesc; - rsinfo_ncols = tupdesc->natts; + ncols = tupdesc->natts; /* * The requested tuple description better match up with the array * we were given. */ - elog(INFO, "rsinfo_ncols = %d, ncols = %d", rsinfo_ncols, ncols); - /* OK, use it */ attinmeta = TupleDescGetAttInMetadata(tupdesc);