Skip site navigation (1) Skip section navigation (2)

Re: pg_get_domaindef()

From: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
To: FAST PostgreSQL <fastpgs(at)fast(dot)fujitsu(dot)com(dot)au>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_get_domaindef()
Date: 2006-10-26 14:52:27
Message-ID: 20061026145227.GC1377@alamut (view raw or flat)
Thread:
Lists: 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.

In response to

pgsql-hackers by date

Next:From: Heikki LinnakangasDate: 2006-10-26 15:00:15
Subject: Re: Nasty btree deletion bug
Previous:From: Andrew SullivanDate: 2006-10-26 14:45:46
Subject: Re: Replication documentation addition

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group