mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Use appendStringInfoString instead of appendStringInfo where possible.
This shaves a few cycles, and generally seems like good programming practice. David Rowley
This commit is contained in:
@ -716,7 +716,7 @@ format_operator_internal(Oid operator_oid, bool force_qualify)
|
||||
format_type_be_qualified(operform->oprleft) :
|
||||
format_type_be(operform->oprleft));
|
||||
else
|
||||
appendStringInfo(&buf, "NONE,");
|
||||
appendStringInfoString(&buf, "NONE,");
|
||||
|
||||
if (operform->oprright)
|
||||
appendStringInfo(&buf, "%s)",
|
||||
@ -724,7 +724,7 @@ format_operator_internal(Oid operator_oid, bool force_qualify)
|
||||
format_type_be_qualified(operform->oprright) :
|
||||
format_type_be(operform->oprright));
|
||||
else
|
||||
appendStringInfo(&buf, "NONE)");
|
||||
appendStringInfoString(&buf, "NONE)");
|
||||
|
||||
result = buf.data;
|
||||
|
||||
|
Reference in New Issue
Block a user