Error using home-made functions

Поиск
Список
Период
Сортировка
От José Paumard
Тема Error using home-made functions
Дата
Msg-id 36A491EA.A9C7B563@cmla.ens-cachan.fr
обсуждение исходный текст
Список pgsql-hackers
Hello, 

I still have the same mistake after upgrading to v6.4.2 : 
add_one is a simple function that add 1 to a given int. It has been
compiled as a .so using gcc. The first time I use it, it gives an error
message, and the second and following times, it seems to work well : 

template1=> select add_one(1) ;
ERROR:  Load of file /usr/local/pgsql/lib/add_one.so failed:
/usr/local/pgsql/lib/add_one.so: undefined symbol: mem_set
template1=> select add_one(1) ;
add_one
-------     2
(1 row)
template1=>

Any help would be much appreciated, 

Jose Paumard


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

Предыдущее
От: Dmitry Samersoff
Дата:
Сообщение: Good Idea ;-))
Следующее
От: "Jose' Soares"
Дата:
Сообщение: Re: [HACKERS] about RULES