Defining 'C' functions in Postgres

Поиск
Список
Период
Сортировка
От Konstantinos Vassiliadis
Тема Defining 'C' functions in Postgres
Дата
Msg-id Pine.LNX.3.95.980710192600.15982D-100000@p03.cs.man.ac.uk
обсуждение исходный текст
Список pgsql-general
Hello
I am using Postgres for the first time. I tried to define a 'C' function
in Postgres using the CREATE FUNCTION command but encountered the
following:

 ERROR:  Only users with Postgres superuser privilege are permitted to
 create a function in the 'C' language.  Others may use the 'sql' language
 or the created procedural languages.

The command is
 CREATE FUNCTION phone_in(opaque)
 RETURNS phone
 AS '/home/M97/acs/vassilik/protein/phone.o'
 LANGUAGE 'c';

It is not me that installed Postgres. Is this the problem?

Kostas Vassiliadis


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

Предыдущее
От: Bruce Tong
Дата:
Сообщение: Re: [GENERAL] What to do with no foreign keys
Следующее
От: Konstantinos Vassiliadis
Дата:
Сообщение: Palloc library