Re: C-functions using SPI Missing Magic Block Error
Вложения
В списке pgsql-general по дате отправления:
| От | Joe Conway |
|---|---|
| Тема | Re: C-functions using SPI Missing Magic Block Error |
| Дата | |
| Msg-id | 4C2E09C5.1090404@joeconway.com обсуждение исходный текст |
| Ответ на | Re: C-functions using SPI Missing Magic Block Error (Saitenheini@web.de) |
| Ответы |
Re: C-functions using SPI Missing Magic Block Error
|
| Список | pgsql-general |
On 07/02/2010 08:36 AM, Saitenheini@web.de wrote: > Thanks, I've already tried that. I doesn't make any difference. Still the same error. > > in Visual C++ I can't even compile it, although I set all links and compiler directories like it was told in this post: > http://www.postgresql.org/docs/8.2/interactive/xfunc-c.html > > I don't have more ideas. > What could I do? Building extensions on Windows is a royal pain (at least for me it is). I would suggest either: a) switch to Linux (I know, probably not a helpful suggestion) -or- b) possibly try adding your function to an existing contrib, e.g. tablefunc, and see if you can compile that The build infrastructure on Windows with VC++ is difficult to work with. In order to get PL/R to compile with VC++ I had to hack the provided perl build scripts. That could be a third option for you, but (b) is probably far easier for you. Joe
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера