mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
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.
This commit is contained in:
@ -59,7 +59,7 @@ check_primary_key(PG_FUNCTION_ARGS)
|
||||
int i;
|
||||
|
||||
#ifdef DEBUG_QUERY
|
||||
elog(DEBUG3, "Check_primary_key Enter Function");
|
||||
elog(DEBUG4, "Check_primary_key Enter Function");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -249,7 +249,7 @@ check_foreign_key(PG_FUNCTION_ARGS)
|
||||
r;
|
||||
|
||||
#ifdef DEBUG_QUERY
|
||||
elog(DEBUG3, "Check_foreign_key Enter Function");
|
||||
elog(DEBUG4, "Check_foreign_key Enter Function");
|
||||
#endif
|
||||
|
||||
/*
|
||||
@ -453,7 +453,7 @@ check_foreign_key(PG_FUNCTION_ARGS)
|
||||
strcmp(type, "date") && strcmp(type, "timestamp")) == 0)
|
||||
is_char_type = 1;
|
||||
#ifdef DEBUG_QUERY
|
||||
elog(DEBUG3, "Check_foreign_key Debug value %s type %s %d",
|
||||
elog(DEBUG4, "Check_foreign_key Debug value %s type %s %d",
|
||||
nv, type, is_char_type);
|
||||
#endif
|
||||
|
||||
@ -521,7 +521,7 @@ check_foreign_key(PG_FUNCTION_ARGS)
|
||||
}
|
||||
plan->nplans = nrefs;
|
||||
#ifdef DEBUG_QUERY
|
||||
elog(DEBUG3, "Check_foreign_key Debug Query is : %s ", sql);
|
||||
elog(DEBUG4, "Check_foreign_key Debug Query is : %s ", sql);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user