mirror of
https://github.com/postgres/postgres.git
synced 2025-10-22 14:32:25 +03:00
Fixup various new-to-v18 usages of appendPQExpBuffer
Use appendPQExpBufferStr when there are no parameters and appendPQExpBufferChar when the string length is 1. Author: David Rowley <drowleyml@gmail.com> Discussion: https://postgr.es/m/CAApHDvoARMvPeXTTC0HnpARBHn-WgVstc8XFCyMGOzvgu_1HvQ@mail.gmail.com
This commit is contained in:
@@ -2859,7 +2859,7 @@ error_return:
|
||||
}
|
||||
}
|
||||
|
||||
appendPQExpBufferStr(&conn->errorMessage, "\n");
|
||||
appendPQExpBufferChar(&conn->errorMessage, '\n');
|
||||
|
||||
return PGRES_POLLING_FAILED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user