Guido Barosio wrote:
> Your answer seems to be here:
>
> http://www.postgresql.org/docs/8.0/static/catalog-pg-proc.html
>
> If "specitifation" means the actual source of the procedure you shall ask
> for the prosrc column in the pg_proc relation. But check the documentation
> first.
The FK routines are actually C-language functions, and pg_proc.prosrc
won't tell you much. Their definitions are in
src/backend/utils/adt/ri_triggers.c.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support