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. ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match