Re: Undocumented PQdisplayTuples and PQprintTuples in libpq

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Undocumented PQdisplayTuples and PQprintTuples in libpq
Дата
Msg-id alpine.DEB.2.21.1908050649420.16639@lancre
обсуждение исходный текст
Ответ на Undocumented PQdisplayTuples and PQprintTuples in libpq  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: Undocumented PQdisplayTuples and PQprintTuples in libpq  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
Bonjour Michaël,

> I have noticed today that the two functions in $subject are part of
> libpq and remain around undocumented since they are around (see
> 6ef5846 and 2b84cbb).  Isn't it past time to get rid of them?  We have
> PQprint as well, which was used in the past by psql but not today,
> still that's documented.  Note that the coverage in this area is a
> perfect 0%:
> https://coverage.postgresql.org/src/interfaces/libpq/fe-print.c.gcov.html

<sigh>

> I am also wondering how an update to exports.txt should be handled in
> this case.  Just by commenting out the numbers which are not used
> anymore?

How do you know that they are not used by anyone in the wild?
If they are broken, it would be a clue. If not, possibly someone somewhere 
could be using it, eg for debug (what does this result look like?).

-- 
Fabien.

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

Предыдущее
От: Amit Langote
Дата:
Сообщение: Re: partition routing layering in nodeModifyTable.c
Следующее
От: yuzuko
Дата:
Сообщение: Re: Problem with default partition pruning