Re: multi-install PostgresNode fails with older postgres versions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: multi-install PostgresNode fails with older postgres versions
Дата
Msg-id 20210407190924.GA13559@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: multi-install PostgresNode fails with older postgres versions  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: multi-install PostgresNode fails with older postgres versions  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On 2021-Apr-07, Andrew Dunstan wrote:

> Aren't you likely to end up duplicating substantial amounts of code,
> though?

No — did you look at his code?  Each version is child of the one just
above, so you only need to override things where behavior changes from
one version to the next.

> I'm certainly not at the stage where I think the version-aware
> code is creating too much clutter. The "forest of conditionals" seems
> more like a small thicket.

After comparing both approaches, I think ioguix's is superior in
cleanliness.

-- 
Álvaro Herrera                            39°49'30"S 73°17'W
<Schwern> It does it in a really, really complicated way
<crab> why does it need to be complicated?
<Schwern> Because it's MakeMaker.



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: buildfarm instance bichir stuck
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: multi-install PostgresNode fails with older postgres versions