mirror of
https://github.com/postgres/postgres.git
synced 2025-07-14 08:21:07 +03:00
Marginal comments and docs cleanup.
Fix up some imprecise comments and poor markup from ba79cb5dc
. Also try
to convert the documentation of log_min_duration_sample and friends into
passable English.
This commit is contained in:
@ -262,16 +262,16 @@ RestoreParamList(char **start_address)
|
||||
|
||||
/*
|
||||
* BuildParamLogString
|
||||
* Return a string that represent the parameter list, for logging.
|
||||
* Return a string that represents the parameter list, for logging.
|
||||
*
|
||||
* If caller already knows textual representations for some parameters, it can
|
||||
* pass an array of exactly params->numParams values as knownTextValues, which
|
||||
* can contain NULLs for any unknown individual values. NULL can be given if
|
||||
* no parameters are known.
|
||||
*
|
||||
* If maxlen is not zero, that's the maximum number of characters of the
|
||||
* input string printed; an ellipsis is added if more characters exist.
|
||||
* (Added quotes are not considered.)
|
||||
* If maxlen is not zero, that's the maximum number of bytes of any one
|
||||
* parameter value to be printed; an ellipsis is added if the string is
|
||||
* longer. (Added quotes are not considered in this calculation.)
|
||||
*/
|
||||
char *
|
||||
BuildParamLogString(ParamListInfo params, char **knownTextValues, int maxlen)
|
||||
@ -282,7 +282,8 @@ BuildParamLogString(ParamListInfo params, char **knownTextValues, int maxlen)
|
||||
|
||||
/*
|
||||
* NB: think not of returning params->paramValuesStr! It may have been
|
||||
* generated with a different maxlen, and so unsuitable.
|
||||
* generated with a different maxlen, and so be unsuitable. Besides that,
|
||||
* this is the function used to create that string.
|
||||
*/
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user