From 2d49637ca7bc08e94b5267eb81e794e8a7d8111c Mon Sep 17 00:00:00 2001
From: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sat, 10 Apr 1999 23:51:16 +0000
Subject: [PATCH] Tweak create_operator regress test so it doesn't illustrate
 incorrect usage of commutator link.

---
 src/test/regress/expected/create_operator.out | 3 ++-
 src/test/regress/sql/create_operator.sql      | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/test/regress/expected/create_operator.out b/src/test/regress/expected/create_operator.out
index cc9217826d2..24e8cde40e2 100644
--- a/src/test/regress/expected/create_operator.out
+++ b/src/test/regress/expected/create_operator.out
@@ -8,7 +8,8 @@ QUERY: CREATE OPERATOR <% (
    leftarg = point,
    rightarg = widget,
    procedure = pt_in_widget,
-   commutator = >=%
+   commutator = >% ,
+   negator = >=%
 );
 QUERY: CREATE OPERATOR @#@ (
    rightarg = int4,		
diff --git a/src/test/regress/sql/create_operator.sql b/src/test/regress/sql/create_operator.sql
index 74fdd8eb4f9..0fafa5c2fd4 100644
--- a/src/test/regress/sql/create_operator.sql
+++ b/src/test/regress/sql/create_operator.sql
@@ -12,7 +12,8 @@ CREATE OPERATOR <% (
    leftarg = point,
    rightarg = widget,
    procedure = pt_in_widget,
-   commutator = >=% 
+   commutator = >% ,
+   negator = >=% 
 );
 
 CREATE OPERATOR @#@ (
-- 
GitLab