| От | Magnus Hagander |
|---|---|
| Тема | Re: Add default_val to pg_settings |
| Дата | |
| Msg-id | 48EA0D79.20502@hagander.net обсуждение исходный текст |
| Ответ на | Re: Add default_val to pg_settings (Greg Smith <gsmith@gregsmith.com>) |
| Список | pgsql-hackers |
Greg Smith wrote: > On Thu, 25 Sep 2008, Simon Riggs wrote: > >> So it would be useful to have a column that meant "if I run the RESET >> command it would return me to this value". > > Patch v3 attached that exposes boot_val and reset_val. The docs for the > latter link to the RESET command page for details. Applied with some smaller changes and minor stylistic fixes. You don't need to copy a text string into buffer and then pstrdup() buffer later - you can just pstrdup() the text string directly. And you forgot one of the places in rules.out :-P Thanks! //Magnus
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера