PL contribution guidelines?

Поиск
Список
Период
Сортировка
От mlg3
Тема PL contribution guidelines?
Дата
Msg-id 200309250736.h8P7aewA087369@www.mail15.com
обсуждение исходный текст
Ответы Re: PL contribution guidelines?  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
I want to make a contribution.
It is a new (to pgsql) procedural language.
Currently it already works (but debugging output 
is not disabled yet).

I've got some questions and considerations, please, correct me
if I am wrong:

I understand that pgsql uses autoconf but not other autotools.
The best location for such contribution is in
src/pl/pl<lang-name>

Now, how do I include my PL into the build list?
What files must I provide? (preferrably, by borrowing
them from another PL, e.g. PLPERL or TCL])

Currently, I compile the C source by hands:
cc -fpic -I /pgsql/src/include -c plpfe.c
cc -shared -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,
/usr/local/lib/pfe -o plpfe.so plpfe.o -lpfe

One part of the implementation resides in the pfe build tree,
but it needs postgres.h and fmgr.h

Currently I use
#include "/pgsql/src/include/postgres.h"
#include "/pgsql/src/include/fmgr.h"
(/pgsql is a symlink to the PostgreSQL*.*.* directory)
but IMO there should be a better way.

Should I publish the project as plpfe.sf.net, or there's
a better location?

I also composed PLSAMPLE (the same implementation
components, but empty). IMO, it (PLSAMPLE) also should be 
there in the PSQL distribution.


regards, mlg


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

Предыдущее
От: "Heikki Tuuri"
Дата:
Сообщение: Re: PostgreSQL not ACID compliant?
Следующее
От: "Zeugswetter Andreas SB SD"
Дата:
Сообщение: Re: More Prelimiary DBT-2 Test Results with PostgreSQL 7.3.4