| От | Peter Eisentraut |
|---|---|
| Тема | Re: Modifying and solidifying contrib |
| Дата | |
| Msg-id | 200701281102.26221.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | Re: Modifying and solidifying contrib ("Kevin Barnard" <kevin.barnard@gmail.com>) |
| Список | pgsql-hackers |
Kevin Barnard wrote: > The basic idea of my proposal would be to have a function that checks > for the existence of C libraries. The next piece I would need would > be a mechanism for psql to halt the restore SQL script if these > checks failed. Finally I would need to add a switch to tell pg_dump > to do the checks first thereby causing the restore to fail, hopefully > with a nice message that clues the admin that something is wrong. You already get this today. If you create a C function and the library doesn't exist, you get an error, and if you use the right flags for psql or pg_restore, the restoration aborts. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера