Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 42CE49FB36B for ; Thu, 26 Oct 2006 11:54:08 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 97199-09 for ; Thu, 26 Oct 2006 11:54:00 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from fep05.ttnet.net.tr (mail.ttnet.net.tr [212.175.13.129]) by postgresql.org (Postfix) with ESMTP id AF6E79FB349 for ; Thu, 26 Oct 2006 11:53:59 -0300 (ADT) Received: from (unknown) by AVGW-I-1.ttnet.net.tr with smtp id 2bd3_cf82fa4c_6501_11db_85ff_001422175f0e; Thu, 26 Oct 2006 17:53:59 +0300 Received: from alamut ([85.99.175.176]) by fep05.ttnet.net.tr with ESMTP id <20061026145357.LAWL10864.fep05.ttnet.net.tr@alamut>; Thu, 26 Oct 2006 17:53:57 +0300 Received: from (dsl.dynamic8599175176.ttnet.net.tr [85.99.175.176]) by AVGW-I-7.ttnet.net.tr with smtp id 104b_cc78ff7c_6501_11db_80dc_001143376e77; Thu, 26 Oct 2006 17:53:56 +0300 Date: Thu, 26 Oct 2006 17:52:27 +0300 From: Volkan YAZICI To: FAST PostgreSQL Cc: pgsql-hackers@postgresql.org Subject: Re: pg_get_domaindef() Message-ID: <20061026145227.GC1377@alamut> References: <18387.11451161840784.fast.fujitsu.com.au@MHS> <20061026142754.GB1377@alamut> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20061026142754.GB1377@alamut> User-Agent: Mutt/1.4.2.1i X-NAI-Spam-Rules: 1 Rules triggered BAYES_00=-2.5 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=3.33 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, DNS_FROM_RFC_POST, DNS_FROM_RFC_WHOIS, RCVD_IN_BL_SPAMCOP_NET, SPF_PASS, UNPARSEABLE_RELAY X-Spam-Level: *** X-Archive-Number: 200610/1404 X-Sequence-Number: 93301 On Oct 26 05:27, Volkan YAZICI wrote: > On Oct 26 03:33, FAST PostgreSQL wrote: > > I couldn't find the CONSTRAINT name ('testconstraint' in this case) being > > stored in the system catalog. Any idea where I can find it? > > AFAIK, it is passed to the related procedure via a DomainIOData struct > that fcinfo->flinfo->fn_extra points to. (See domain_in() in > backend/utils/adt/domains.c) Ah, please excuse my wrong answer. See GetDomainConstraints() function in the same file. Regards.