Re: create trigger (can't compile example, problem with include files)
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: create trigger (can't compile example, problem with include files) |
| Дата | |
| Msg-id | 9838.976852298@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: create trigger (can't compile example, problem with include files) ("Robert B. Easter" <reaster@comptechnews.com>) |
| Список | pgsql-general |
"Robert B. Easter" <reaster@comptechnews.com> writes:
> I compared /usr/local/pgsql/include with
> /usr/src/postgresql-7.0.3/src/include and found that the src has more
> include files so that I tried:
Yeah, we keep meaning to clean up the include-file situation so that you
have some chance of compiling a useful C trigger with the installed
include files. Right now you pretty much have to -I a source tree.
> ttest.c: In function `trigf':
> ttest.c:17: `WARN' undeclared (first use in this function)
> ttest.c:17: (Each undeclared identifier is reported only once
> ttest.c:17: for each function it appears in.)
s/WARN/ERROR/. Looks like this example file never got updated when
that change was made, about three years ago :-(. Will fix.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера