Removes some comments with printf %.*s format from ruleutils_14.c

Relevant PG commit:

c410af098c46949e36607eb13689e697fa2def97
pull/5209/head
Halil Ozan Akgul 2021-08-16 10:57:01 +03:00 committed by Sait Talha Nisanci
parent e38b75799d
commit a710b3b949
1 changed files with 0 additions and 10 deletions

View File

@ -630,11 +630,6 @@ set_rtable_names(deparse_namespace *dpns, List *parent_namespaces,
hentry->counter++;
for (;;)
{
/*
* We avoid using %.*s here because it can misbehave
* if the data is not valid in what libc thinks is the
* prevailing encoding.
*/
memcpy(modname, refname, refnamelen);
sprintf(modname + refnamelen, "_%d", hentry->counter);
if (strlen(modname) < NAMEDATALEN)
@ -1492,11 +1487,6 @@ make_colname_unique(char *colname, deparse_namespace *dpns,
i++;
for (;;)
{
/*
* We avoid using %.*s here because it can misbehave if the
* data is not valid in what libc thinks is the prevailing
* encoding.
*/
memcpy(modname, colname, colnamelen);
sprintf(modname + colnamelen, "_%d", i);
if (strlen(modname) < NAMEDATALEN)