Any tutorial or FAQ on building an extension? - Mailing list pgsql-hackers

From Matt Culbreth
Subject Any tutorial or FAQ on building an extension?
Date
Msg-id 9c3aae16-9a20-4ac7-9173-7d9b89eb5626@b15g2000yqd.googlegroups.com
Whole thread Raw
Responses Re: Any tutorial or FAQ on building an extension?  (Josh Berkus <josh@agliodbs.com>)
List 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 by date:

Previous
From: Gianni Ciolli
Date:
Subject: Re: "Hot standby"?
Next
From: Tom Lane
Date:
Subject: pgindent timing (was Re: [COMMITTERS] pgsql: Refactor NUM_cache_remove calls in error report path to a PG_TRY)