Re: stored procedures / C-Language

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема Re: stored procedures / C-Language
Дата
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE6C71D8@algol.sollentuna.se
обсуждение исходный текст
Ответ на stored procedures / C-Language  ("FERREIRA William (COFRAMI)" <william.ferreira@airbus.com>)
Список pgsql-general
 

hi,

i'm trying to find some documentation about writing stored procedures with C-language.
i found description in postgresql's documentation but i don't understand everything.

Aat present, i have a pl/perl stored procedure but it isn't fast enough, so somebody recommend me to write it using c-language.

i don't know how to create this, and how asking the database, recovering data and managing them.

For the moment, my application is running on Windows 2000 NT, is it possible to write stored procedures using C-language ? may i write them using Visual C++ or does i need to use ANSI compiler ?

does this code will run with Linux or Solaris ?

sorry for all these questions, but i don't how it works, and my application must works at the end of the week :-(

thanks a lots

 At the moment you muse use MingW (http://www.mingw.org) to compile your extensions. Assuming you don't use any platform specific code, it should run fine on Linux or Solaris with a simlpe recompile (the postgresql interfaces are the same).

(Visual C++ is an ANSI compliant compiler, but that won't help you here..)

//Magnus 

 

В списке pgsql-general по дате отправления:

Предыдущее
От: "FERREIRA William (COFRAMI)"
Дата:
Сообщение: stored procedures / C-Language
Следующее
От: Rob Kirkbride
Дата:
Сообщение: Time