From: | svn(at)pgadmin(dot)org |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | SVN Commit by dpage: r4225 - trunk/pgadmin3/src/schema |
Date: | 2005-05-20 09:29:33 |
Message-ID: | 200505200929.j4K9TXr1023738@developer.pgadmin.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Author: dpage
Date: 2005-05-20 10:29:33 +0100 (Fri, 20 May 2005)
New Revision: 4225
Modified:
trunk/pgadmin3/src/schema/pgDomain.cpp
Log:
Use pg_get_constraintdef(pg_constraint.oid) to get domain contraint details.
Modified: trunk/pgadmin3/src/schema/pgDomain.cpp
===================================================================
--- trunk/pgadmin3/src/schema/pgDomain.cpp 2005-05-20 08:45:58 UTC (rev 4224)
+++ trunk/pgadmin3/src/schema/pgDomain.cpp 2005-05-20 09:29:33 UTC (rev 4225)
@@ -70,7 +70,7 @@
if (GetConnection()->BackendMinimumVersion(7, 4))
{
pgSet *set=ExecuteSet(
- wxT("SELECT conname, consrc FROM pg_constraint WHERE contypid=") + GetOidStr());
+ wxT("SELECT conname, pg_get_constraintdef(oid) AS consrc FROM pg_constraint WHERE contypid=") + GetOidStr());
if (set)
{
while (!set->Eof())
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GUNDUZ | 2005-05-20 10:18:31 | Re: 1.2.2 testing |
Previous Message | Dave Page | 2005-05-20 08:49:46 | 1.2.2 testing |