Any tutorial or FAQ on building an extension?

Поиск
Список
Период
Сортировка
От Matt Culbreth
Тема Any tutorial or FAQ on building an extension?
Дата
Msg-id 9c3aae16-9a20-4ac7-9173-7d9b89eb5626@b15g2000yqd.googlegroups.com
обсуждение исходный текст
Ответы Re: Any tutorial or FAQ on building an extension?  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Hello Group,

I'd like to build an extension to PostgreSQL.  It will intercept
queries and perform some transformations on the query and on the data
returned, given some business rules that the users have specified.

What's the best way to do this?  It seems like if I model the pgpool-
II architecture that would be a good start. That way existing clients
don't really know that they are talking to my application instead of a
real PostgreSQL postmaster.  My app won't be written in C but I
suppose I could start with this approach.

Is there an easier way of going about this other than replacing the
postmaster / postgres components?

Thanks for any pointers,

Matt


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

Предыдущее
От: Gianni Ciolli
Дата:
Сообщение: Re: "Hot standby"?
Следующее
От: Tom Lane
Дата:
Сообщение: pgindent timing (was Re: [COMMITTERS] pgsql: Refactor NUM_cache_remove calls in error report path to a PG_TRY)