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

SVN Commit by andreas: r4747 - branches/REL-1_4_0_PATCHES/pgadmin3/src/frm

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by andreas: r4747 - branches/REL-1_4_0_PATCHES/pgadmin3/src/frm
Date: 2005-11-20 16:11:59
Message-ID: 200511201611.jAKGBxVO029966@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: andreas
Date: 2005-11-20 16:11:59 +0000 (Sun, 20 Nov 2005)
New Revision: 4747

Modified:
   branches/REL-1_4_0_PATCHES/pgadmin3/src/frm/frmEditGrid.cpp
Log:
Don't show pk hint when editing view

Modified: branches/REL-1_4_0_PATCHES/pgadmin3/src/frm/frmEditGrid.cpp
===================================================================
--- branches/REL-1_4_0_PATCHES/pgadmin3/src/frm/frmEditGrid.cpp	2005-11-20 16:00:01 UTC (rev 4746)
+++ branches/REL-1_4_0_PATCHES/pgadmin3/src/frm/frmEditGrid.cpp	2005-11-20 16:11:59 UTC (rev 4747)
@@ -671,7 +671,7 @@
     event.m_size = GetSize();
     OnSize(event);
 
-    if (!hasOids && primaryKeyColNumbers.IsEmpty())
+    if (!hasOids && primaryKeyColNumbers.IsEmpty() && relkind == 'r')
         frmHint::ShowHint(this, HINT_READONLY_NOPK, tableName);
 }
 


pgadmin-hackers by date

Next:From: svnDate: 2005-11-20 16:12:49
Subject: SVN Commit by andreas: r4748 - in trunk/pgadmin3: . src/frm
Previous:From: svnDate: 2005-11-20 16:00:17
Subject: SVN Commit by andreas: r4746 - branches/REL-1_4_0_PATCHES/pgadmin3/src/ui

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