Re: Making WAL receiver startup rely on GUC context forprimary_conninfo and primary_slot_name
Вложения
В списке pgsql-hackers по дате отправления:
| От | Michael Paquier |
|---|---|
| Тема | Re: Making WAL receiver startup rely on GUC context forprimary_conninfo and primary_slot_name |
| Дата | |
| Msg-id | 20181213032258.GF9437@paquier.xyz обсуждение исходный текст |
| Ответ на | Re: Making WAL receiver startup rely on GUC context forprimary_conninfo and primary_slot_name (Michael Paquier <michael@paquier.xyz>) |
| Ответы |
Re: Making WAL receiver startup rely on GUC context for primary_conninfo and primary_slot_name
|
| Список | pgsql-hackers |
On Wed, Dec 12, 2018 at 02:55:17PM +0900, Michael Paquier wrote: > Well, the conninfo and slot name accessible to the user are the values > available only once the information of the WAL receiver in shared memory > is ready to be displayed. Relying more on the GUC context has the > advantage to never have in shared memory the original string and only > store the clobbered one, which actually simplifies what's stored in > shared memory because you can entirely remove ready_to_display (I forgot > to remove that in the patch actually). If those parameters become > reloadable, you actually rely only on what the param context has, and > not on what the shared memory context may have or not. > > Removing entirely ready_to_display is quite appealing actually.. I have been looking at that stuff this morning, and indeed ready_for_display can be entirely removed. I think that's quite an advantage as WalRcv->conninfo only stores the connection string cloberred to hide security-sensitive fields and it never has to save the initial state which could have sensitive data, simplifying how the WAL receiver data is filled. I am adding that to the next commit fest. -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера