Re: pgsql: Rename contrib module basic_archive to basic_wal_module
В списке pgsql-hackers по дате отправления:
| От | Nathan Bossart |
|---|---|
| Тема | Re: pgsql: Rename contrib module basic_archive to basic_wal_module |
| Дата | |
| Msg-id | 20230125223704.GA1164580@nathanxps13 обсуждение исходный текст |
| Ответ на | Re: pgsql: Rename contrib module basic_archive to basic_wal_module (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
On Wed, Jan 25, 2023 at 04:50:22PM -0500, Tom Lane wrote: > Nathan Bossart <nathandbossart@gmail.com> writes: >> I wanted to merge basic_archive and basic_recovery because there's a decent >> chunk of duplicated code. > > Would said code likely be duplicated into non-test uses of this feature? > If so, maybe you ought to factor it out into a common location. I agree > with Robert's point that basic_wal_module is a pretty content-free name. I doubt it. The duplicated parts are things like _PG_init(), the check hook for the GUC, and all the rest of the usual boilerplate stuff for extensions (e.g., Makefile, meson.build). This module is small enough that this probably makes up the majority of the code. -- Nathan Bossart Amazon Web Services: https://aws.amazon.com
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера