Re: Synchronize with imath upstream

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Synchronize with imath upstream
Дата
Msg-id 19483.1549552325@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Synchronize with imath upstream  (Noah Misch <noah@leadboat.com>)
Ответы Re: Synchronize with imath upstream  (Daniel Gustafsson <daniel@yesql.se>)
Re: Synchronize with imath upstream  (Noah Misch <noah@leadboat.com>)
Список pgsql-hackers
Noah Misch <noah@leadboat.com> writes:
> On Wed, Feb 06, 2019 at 10:15:24AM -0500, Tom Lane wrote:
>> I don't object to keeping imported code in a form that matches upstream
>> as best we can.  (Should we also exclude such files from pgindent'ing?)

> I think it depends on how much time one spends merging upstream changes versus
> making PostgreSQL-specific edits.  For IMath, both amounts are too small to
> get excited about.  Does pgindent materially complicate src/timezone merges?

My practice with src/timezone is to pgindent the upstream code and then
diff it; given that extra step, it's not really any more complex (and
maybe less so, as this hides minor whitespace changes for instance).
There are some other deltas to worry about as well, see
src/timezone/README.

I have no particular opinion on whether pgindent should be part of the
mix for imath, but I do strongly recommend setting up and documenting a
reproducible import process, as I did for src/timezone.

            regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Add pg_partition_root to get top-most parent of a partition tree
Следующее
От: Oleksii Kliukin
Дата:
Сообщение: Re: Connection slots reserved for replication