writing functions with C

Поиск
Список
Период
Сортировка
От Can BICAN
Тема writing functions with C
Дата
Msg-id Pine.A41.4.05.9909240117100.111042-100000@orca.cc.metu.edu.tr
обсуждение исходный текст
Список pgsql-interfaces
Hello,
I am trying to write a function in C that only does exactly what
crypt does. I wonder if it is possible to load crypt function directly
from /usr/lib/libcrypt.so. If it is possible, what should I declare as
arguments and return values? Can I just declare as varchar or text? I
tried it but the backend crashes. I am not sure if I'm declaring wrong or
calling wrong.If not possible, can anyone suggest me a wrapper for this purpose?
Thanks.

-----
Can Bican



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

Предыдущее
От: Bishop
Дата:
Сообщение: Pg (Perl interface) NOTICE: Unrecognized variable client_encoding
Следующее
От: "Ken J. Wright"
Дата:
Сообщение: PQnotifies & select