pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Julien Rouhaud <julien.rouhaud@dalibo.com>
To: dmigowski@ikoffice.de
To: pgadmin-hackers@postgresql.org
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14183: pgAdminIII doesn't display NEGATOR entries
Date: Sun, 12 Jun 2016 19:58:10 +0200
Message-ID: <6e9a20ab-8d1e-aa40-8621-86adc6e0e323@dalibo.com> (raw)
In-Reply-To: <20160611094103.5798.13285@wrigleys.postgresql.org>
References: <20160611094103.5798.13285@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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");

view thread (2+ messages)

Message-ID: <6e9a20ab-8d1e-aa40-8621-86adc6e0e323@dalibo.com>
Permalink:  ../6e9a20ab-8d1e-aa40-8621-86adc6e0e323@dalibo.com/
Also on:    postgresql.org/message-id/6e9a20ab-8d1e-aa40-8621-86adc6e0e323@dalibo.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: julien.rouhaud@dalibo.com, dmigowski@ikoffice.de, pgadmin-hackers@postgresql.org
  Subject: Re: BUG #14183: pgAdminIII doesn't display NEGATOR entries
  In-Reply-To: <6e9a20ab-8d1e-aa40-8621-86adc6e0e323@dalibo.com>
  References: <20160611094103.5798.13285@wrigleys.postgresql.org> <6e9a20ab-8d1e-aa40-8621-86adc6e0e323@dalibo.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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