SVN Commit by andreas: r4747 - branches/REL-1_4_0_PATCHES/pgadmin3/src/frm - Mailing list pgadmin-hackers

From svn@pgadmin.org
Subject SVN Commit by andreas: r4747 - branches/REL-1_4_0_PATCHES/pgadmin3/src/frm
Date
Msg-id 200511201611.jAKGBxVO029966@developer.pgadmin.org
Whole thread Raw
List 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:

Previous
From: svn@pgadmin.org
Date:
Subject: SVN Commit by andreas: r4746 - branches/REL-1_4_0_PATCHES/pgadmin3/src/ui
Next
From: svn@pgadmin.org
Date:
Subject: SVN Commit by andreas: r4748 - in trunk/pgadmin3: . src/frm