pg_get_domaindef() - Mailing list pgsql-hackers

From FAST PostgreSQL
Subject pg_get_domaindef()
Date
Msg-id 18387.11451161840784.fast.fujitsu.com.au@MHS
Whole thread Raw
Responses Re: pg_get_domaindef()  (Volkan YAZICI <yazicivo@ttnet.net.tr>)
List pgsql-hackers
Hi All,

I am now trying to implement pg_get_domaindef() function which is in the TODO 
list and ran into a minor issue.

When the following command is given

CREATE DOMAIN testdomain AS text CONSTRAINT testconstraint NOT NULL;

I couldn't find the CONSTRAINT name ('testconstraint' in this case) being 
stored in the system catalog. Any idea where I can find it?

Or is it acceptable, for the above statement, for pg_get_domaindef() to 
return 

CREATE DOMAIN testdomain AS text CONSTRAINT NOT NULL;

Rgds,
Arul Shaji
This is an email from Fujitsu Australia Software Technology Pty Ltd, ABN 27 003 693 481. It is confidential to the
ordinaryuser of the email address to which it was addressed and may contain copyright and/or legally privileged
information.No one else may read, print, store, copy or forward all or any of it or its attachments. If you receive
thisemail in error, please return to sender. Thank you.
 

If you do not wish to receive commercial email messages from Fujitsu Australia Software Technology Pty Ltd, please
emailunsubscribe@fast.fujitsu.com.au
 



pgsql-hackers by date:

Previous
From: Cesar Suga
Date:
Subject: Re: [DOCS] Replication documentation addition
Next
From: tomas@tuxteam.de
Date:
Subject: Re: Problems starting Template1...