| От | Zdenek Kotala |
|---|---|
| Тема | Fix pg_dump dependency on postgres.h |
| Дата | |
| Msg-id | 47306A81.60402@sun.com обсуждение исходный текст |
| Ответы |
Re: Fix pg_dump dependency on postgres.h
Re: Fix pg_dump dependency on postgres.h |
| Список | pgsql-patches |
Attached patch removes pg_dump dependency on postgres.h. The main reason for that was discussed there: http://archives.postgresql.org/pgsql-hackers/2007-10/msg01261.php This fix contains several steps: 1) I removed sugar word from postgres.h and put them closer to consumer :-). I created include/catalog/genbki.h which contains sugar words - macros for correct catalog data processing. All catalogs file now include this header. 2) I moved SEQ_MAXVALUE and SEQ_MINVALUE macros from sequence.h to postgres_config_manual.h 3) I created two new headers pg_type_fn.h and pg_proc_fn.h and I moved all extern function definition from related headers into them. Second possible solution could be let function definition into headers and fence them by #ifndef FRONTED. Let me know your comments. Thanks Zdenek
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера