Commit 9d8ae797 authored by Thomas G. Lockhart's avatar Thomas G. Lockhart

Add debugging statements.

parent 6e34dc3e
......@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.11 1997/07/24 20:15:45 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.12 1997/07/29 15:51:33 thomas Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -39,7 +39,7 @@
* <dim> - size of each array axis
* <dim_lower> - lower boundary of each dimension
* <actual data> - whatever is the stored data
*/
*/
/*-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-*/
static int _ArrayCount(char *str, int dim[], int typdelim);
......@@ -148,6 +148,14 @@ array_in(char *string, /* input array in external form */
while (isspace(*p)) p++;
}
#ifdef ARRAYDEBUG
printf( "array_in- ndim %d (", ndim);
for (i = 0; i < ndim; i++) {
printf(" %d", dim[i]);
};
printf( ") for %s\n", string);
#endif
nitems = getNitems( ndim, dim);
if (nitems == 0) {
char *emptyArray = palloc(sizeof(ArrayType));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment