AppendStringInfoChar instead of appendStringInfoString

Поиск
Список
Период
Сортировка
От Hou, Zhijie
Тема AppendStringInfoChar instead of appendStringInfoString
Дата
Msg-id ce9a8564ccf1435eacf14bb7364ae9de@G08CNEXMBPEKD05.g08.fujitsu.local
обсуждение исходный текст
Ответы Re: AppendStringInfoChar instead of appendStringInfoString  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
Hi

In (/src/backend/replication/backup_manifest.c)

I found the following code:

    appendStringInfoString(&buf, "\n");
    appendStringInfoString(&buf, "\"");

Since only one bit string is appended here,
I think it will be better to call appendStringInfoChar.

Best reagrds,
houzj



Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Masahiko Sawada
Дата:
Сообщение: Re: Transactions involving multiple postgres foreign servers, take 2
Следующее
От: "tsunakawa.takay@fujitsu.com"
Дата:
Сообщение: RE: [Patch] Optimize dropping of relation buffers using dlist