Refactoring code stripping trailing \n and \r from strings

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Refactoring code stripping trailing \n and \r from strings
Дата
Msg-id 20190801031820.GF29334@paquier.xyz
обсуждение исходный текст
Ответы Re: Refactoring code stripping trailing \n and \r from strings  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Hi Tom,

b654714 has reworked the way we handle removal of CLRF for several
code paths, and has repeated the same code patterns to do that in 8
different places.  Could it make sense to refactor things as per the
attached with a new routine in common/string.c?

Thanks,
--
Michael

Вложения

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Global temporary tables
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: Commitfest 2019-07, the first of five* for PostgreSQL 13