pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #14183: pgAdminIII doesn't display NEGATOR entries
2+ messages / 2 participants
[nested] [flat]

* BUG #14183: pgAdminIII doesn't display NEGATOR entries
@ 2016-06-11 09:41  dmigowski@ikoffice.de
  0 siblings, 1 reply; 2+ messages in thread

From: dmigowski@ikoffice.de @ 2016-06-11 09:41 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      14183
Logged by:          Daniel Migowski
Email address:      dmigowski@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);



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #14183: pgAdminIII doesn't display NEGATOR entries
@ 2016-06-12 17:58  Julien Rouhaud <julien.rouhaud@dalibo.com>
  parent: dmigowski@ikoffice.de
  0 siblings, 0 replies; 2+ messages in thread

From: Julien Rouhaud @ 2016-06-12 17:58 UTC (permalink / raw)
  To: dmigowski@ikoffice.de; pgadmin-hackers@postgresql.org; +Cc: pgsql-bugs

I'm adding pgadmin-hackers which seems more suited

On 11/06/2016 11:41, dmigowski@ikoffice.de wrote:
> The following bug has been logged on the website:
> 
> Bug reference:      14183
> Logged by:          Daniel Migowski
> Email address:      dmigowski@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

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Attachments:

add_negator.diff (text/plain, 713B) download 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");
^ permalink raw reply [nested|flat] 2+ messages in thread


end of thread, other threads:[~2016-06-12 17:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-06-11 09:41 BUG #14183: pgAdminIII doesn't display NEGATOR entries dmigowski@ikoffice.de
2016-06-12 17:58 ` Julien Rouhaud <julien.rouhaud@dalibo.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox