Re: Reducing connection overhead in pg_upgrade compat check phase
От
Daniel Gustafsson
Тема
Re: Reducing connection overhead in pg_upgrade compat check phase
Дата
Msg-id
A3FD601F-18AD-4933-8DB6-9D150EC663A4@yesql.se
Ответ на
Re: Reducing connection overhead in pg_upgrade compat check phase (Daniel Gustafsson)
Список
Дерево обсуждения
Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Peter Eisentraut <peter@eisentraut.org>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase vignesh C <vignesh21@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase vignesh C <vignesh21@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Peter Eisentraut <peter@eisentraut.org>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Peter Eisentraut <peter@eisentraut.org>
Re: Reducing connection overhead in pg_upgrade compat check phase Daniel Gustafsson <daniel@yesql.se>
Re: Reducing connection overhead in pg_upgrade compat check phase Nathan Bossart <nathandbossart@gmail.com>
Re: Reducing connection overhead in pg_upgrade compat check phase Justin Pryzby <pryzby@telsasoft.com>
> On 9 Feb 2024, at 00:04, Daniel Gustafsson wrote: > >> On 8 Feb 2024, at 15:16, Daniel Gustafsson wrote: > >> One option could perhaps be to include a version number for <= comparison, and >> if set to zero a function pointer to a version check function must be provided? >> That would handle the simple cases in a single place without messy logic, and >> leave the more convoluted checks with a special case function. > > The attached is a draft version of this approach, each check can define to run > for all versions, set a threshold version for which it runs or define a > callback which implements a more complicated check. And again pgindented and with documentation on the struct members to make it easy to add new checks. A repetitive part of the report text was also moved to a single place. -- Daniel Gustafsson
В списке pgsql-hackers по дате отправления