Re: pg_get_domaindef() - Mailing list pgsql-hackers

From Volkan YAZICI
Subject Re: pg_get_domaindef()
Date
Msg-id 20061026145227.GC1377@alamut
Whole thread Raw
In response to Re: pg_get_domaindef()  (Volkan YAZICI <yazicivo@ttnet.net.tr>)
List pgsql-hackers
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.


pgsql-hackers by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Replication documentation addition
Next
From: Heikki Linnakangas
Date:
Subject: Re: Nasty btree deletion bug