X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 723E29DC9ED for ; Tue, 14 Feb 2006 19:48:42 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 97938-09 for ; Tue, 14 Feb 2006 19:48:44 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mx2.surnet.cl (mx2.surnet.cl [216.155.73.181]) by postgresql.org (Postfix) with ESMTP id B940F9DC955 for ; Tue, 14 Feb 2006 19:48:39 -0400 (AST) Received: from unknown (HELO cluster.surnet.cl) ([216.155.73.165]) by mx2.surnet.cl with ESMTP; 14 Feb 2006 21:06:34 -0300 X-IronPort-AV: i="3.99,385,1131332400"; d="scan'208"; a="25746739:sNHT19558176" Received: from alvh.no-ip.org (201.220.122.212) by cluster.surnet.cl (7.0.043) (authenticated as alvherre@surnet.cl) id 43A978FD0071092A; Tue, 14 Feb 2006 20:48:42 -0300 Received: by alvh.no-ip.org (Postfix, from userid 1000) id 2403EC2DC59; Tue, 14 Feb 2006 20:48:42 -0300 (CLST) Date: Tue, 14 Feb 2006 20:48:42 -0300 From: Alvaro Herrera To: Guido Barosio Cc: Rodrigo Katsumoto Sakai , pgsql-admin@postgresql.org Subject: Re: Wich systema catalog table?? Message-ID: <20060214234841.GC32543@surnet.cl> Mail-Followup-To: Guido Barosio , Rodrigo Katsumoto Sakai , pgsql-admin@postgresql.org References: <77E0A09C748E4247849A8B2AB069872D33B8F7@apl17.poli.usp.br> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.773 required=5 tests=[AWL=0.773] X-Spam-Score: 0.773 X-Spam-Level: X-Archive-Number: 200602/181 X-Sequence-Number: 20602 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