Re: Creating server-side functions: one simple error

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Creating server-side functions: one simple error
Дата
Msg-id Pine.LNX.4.44.0210111850320.928-100000@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Creating server-side functions: one simple error  (Ruslan A Dautkhanov <rusland@scn.ru>)
Список pgsql-bugs
Ruslan A Dautkhanov writes:

> Is this mean, that PostgreSQL not C++-ready for compiling server-side
> functions, doesn't it?

PostgreSQL is written in C and does not claim to be compilable by a C++
compiler.  That includes the header files.

> Is any methods exists for compiling procedure in
> C++ (namespace modifications etc)?? Thanks for your help.

Make a small wrapper that you compile with a C compiler and put the actual
C++ implementation into a separate file.  Maybe you could make a complete
C++ language handler out of that.

--
Peter Eisentraut   peter_e@gmx.net

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

Предыдущее
От: elein (by way of elein
Дата:
Сообщение: Re: Creating server-side functions: one simple error
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #796: Problem after upgrading to v. 723