I'm adding pgadmin-hackers which seems more suited

On 11/06/2016 11:41, dmigow...@ikoffice.de wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      14183
> Logged by:          Daniel Migowski
> Email address:      dmigow...@ikoffice.de
> PostgreSQL version: 9.5.3
> Operating system:   Any
> Description:        
> 
> When Operators are displayed in pgAdminIII the NEGATOR clause is missing.
> Example from =(int4,int4):
> 
> CREATE OPERATOR =(
>   PROCEDURE = int4eq,
>   LEFTARG = int4,
>   RIGHTARG = int4,
>   COMMUTATOR = =,
>   RESTRICT = eqsel,
>   JOIN = eqjoinsel,
>   HASHES,
>   MERGES);
> 
> 
> 

Attached patch should fix the issue.

Regards.

-- 
Julien Rouhaud
http://dalibo.com - http://dalibo.org
diff --git a/pgadmin/schema/pgOperator.cpp b/pgadmin/schema/pgOperator.cpp
index fa4bad8..0cda743 100644
--- a/pgadmin/schema/pgOperator.cpp
+++ b/pgadmin/schema/pgOperator.cpp
@@ -121,6 +121,7 @@ wxString pgOperator::GetSql(ctlTree *browser)
                AppendIfFilled(sql, wxT(",\n  LEFTARG = "), 
qtTypeIdent(GetLeftType()));
                AppendIfFilled(sql, wxT(",\n  RIGHTARG = "), 
qtTypeIdent(GetRightType()));
                AppendIfFilled(sql, wxT(",\n  COMMUTATOR = "), GetCommutator());
+               AppendIfFilled(sql, wxT(",\n  NEGATOR = "), GetNegator());
                AppendIfFilled(sql, wxT(",\n  RESTRICT = "), 
GetRestrictFunction());
                AppendIfFilled(sql, wxT(",\n  JOIN = "), GetJoinFunction());
                if (GetHashJoins()) sql += wxT(",\n  HASHES");
-- 
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