Unix Technical Forum

SVN Commit by dpage: r4225 - trunk/pgadmin3/src/schema

This is a discussion on SVN Commit by dpage: r4225 - trunk/pgadmin3/src/schema within the pgsql Interfaces Pgadmin Hackers forums, part of the PostgreSQL category; --> 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 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Interfaces Pgadmin Hackers

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-17-2008, 04:44 PM
svn@pgadmin.org
 
Posts: n/a
Default SVN Commit by dpage: r4225 - trunk/pgadmin3/src/schema

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())


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo@postgresql.org so that your
message can get through to the mailing list cleanly

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 03:21 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com