Re: ArchiveEntry optional arguments refactoring

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: ArchiveEntry optional arguments refactoring
Дата
Msg-id 201902011430.2cm3lirklmed@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: ArchiveEntry optional arguments refactoring  (Dmitry Dolgov <9erthalion6@gmail.com>)
Список pgsql-hackers
On 2019-Feb-01, Dmitry Dolgov wrote:

> > On Fri, Feb 1, 2019 at 12:33 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:

> > > * Use NULL as a default value where it was an empty string before (this
> > >   required few minor changes for some part of the code outside ArchiveEntry)
> >
> > I would rename the function to sanitize_line() and put those comments there
> > (removing them from the callsites), then the new argument I suggest would not
> > be completely out of place.
> 
> Yes, sounds pretty reasonable for me.

Thanks for looking -- pushed.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Delay locking partitions during INSERT and UPDATE
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Synchronous replay take III