diff options
| author | Bruce Momjian <bruce@momjian.us> | 2003-05-27 17:49:47 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2003-05-27 17:49:47 +0000 |
| commit | 98b6f37e47a9eb3540493caabf57d0f952ebdc6d (patch) | |
| tree | 656cf699ff40581f8f465e820aa62cb4a55547a0 /contrib/tsearch/query.c | |
| parent | 24daeb8e73f924df26a38185296d5a6a6c49acb1 (diff) | |
| download | postgresql-98b6f37e47a9eb3540493caabf57d0f952ebdc6d.tar.gz | |
Make debug_ GUC varables output DEBUG1 rather than LOG, and mention in
docs that CLIENT/LOG_MIN_MESSAGES now controls debug_* output location.
Doc changes included.
Diffstat (limited to 'contrib/tsearch/query.c')
| -rw-r--r-- | contrib/tsearch/query.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/tsearch/query.c b/contrib/tsearch/query.c index 8253787320..a31bae428d 100644 --- a/contrib/tsearch/query.c +++ b/contrib/tsearch/query.c @@ -449,7 +449,7 @@ static void findoprnd(ITEM * ptr, int4 *pos) { #ifdef BS_DEBUG - elog(DEBUG3, (ptr[*pos].type == OPR) ? + elog(DEBUG4, (ptr[*pos].type == OPR) ? "%d %c" : "%d %d ", *pos, ptr[*pos].val); #endif if (ptr[*pos].type == VAL || ptr[*pos].type == VALTRUE) @@ -557,7 +557,7 @@ queryin(char *buf, void (*pushval) (QPRS_STATE *, int, char *, int)) sprintf(cur, "%d(%s) ", ptr[i].val, GETOPERAND(query) + ptr[i].distance); cur = strchr(cur, '\0'); } - elog(DEBUG3, "POR: %s", pbuf); + elog(DEBUG4, "POR: %s", pbuf); #endif return query; @@ -610,7 +610,7 @@ mqtxt_in(PG_FUNCTION_ARGS) sprintf(cur, "%d(%s) ", ptr[i].val, GETOPERAND(query) + ptr[i].distance); cur = strchr(cur, '\0'); } - elog(DEBUG3, "POR: %s", pbuf); + elog(DEBUG4, "POR: %s", pbuf); #endif pfree(res); PG_RETURN_POINTER(query); |
