Обсуждение: Extending PG - The Experiments

Поиск
Список
Период
Сортировка

Extending PG - The Experiments

От
Lou Picciano
Дата:
In beginning to investigate how we might extend PostgreSQL, have been looking through the docs. I think we want to try a first experiment with some little, example C program using the Type 1 PG extension interface.

PG docs indicate the existing source code on functions/extensions are a good source of examples: Can someone point to a specific point in the source for a preferred example/success story which has been a useful jumpstart for them?

We are by no means noobs in coding (!), but this will be our first PG extension...

Thanks, Lou

Re: Extending PG - The Experiments

От
Dimitri Fontaine
Дата:
Lou Picciano <loupicciano@comcast.net> writes:
> PG docs indicate the existing source code on functions/extensions are a
> good source of examples: Can someone point to a specific point in the
> source for a preferred example/success story which has been a useful
> jumpstart for them?

Pick almost any contrib/ directory, prefer one that does something
similar to what you want to do.

  http://www.postgresql.org/docs/9.0/interactive/contrib.html

Regards,
--
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support