Hi all,

Tiny patch attached to prevent a function being completely rewritten
when just the owner changes.  Not sure if you regard it as a bug fix
or merely an efficiency feature.

-- 
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
diff --git a/pgadmin/dlg/dlgFunction.cpp b/pgadmin/dlg/dlgFunction.cpp
index 274d7cd..842dee8 100644
--- a/pgadmin/dlg/dlgFunction.cpp
+++ b/pgadmin/dlg/dlgFunction.cpp
@@ -846,7 +847,6 @@ wxString dlgFunction::GetSql()
 	                 || cbVolatility->GetValue() != function->GetVolatility()
 	                 || chkSecureDefiner->GetValue() != function->GetSecureDefiner()
 	                 || chkStrict->GetValue() != function->GetIsStrict()
-	                 || cbOwner->GetValue() != function->GetOwner()
 	                 || GetArgs() != function->GetArgListWithNames()
 	                 || (isC && (txtObjectFile->GetValue() != function->GetBin() || txtLinkSymbol->GetValue() != function->GetSource()))
 	                 || (!isC && txtSqlBox->GetText() != function->GetSource());
-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to