diff options
author | Tom Lane | 2007-09-29 23:32:42 +0000 |
---|---|---|
committer | Tom Lane | 2007-09-29 23:32:42 +0000 |
commit | 786c357a1cea7c02dc7fba135280eac4328e0618 (patch) | |
tree | c7a166fcea9c86e1fff39651dc250ce9524ef4ab | |
parent | 9b493b931a2d598ea28a346aabdb19508830f6a2 (diff) |
Remove bogus commutator marking --- the module doesn't actually supply
any commutator operator for =(chkpass,text), so this was creating a
shell operator that would fail on use. Found by opr_sanity testing.
-rw-r--r-- | contrib/chkpass/chkpass.sql.in | 8 | ||||
-rw-r--r-- | contrib/chkpass/uninstall_chkpass.sql | 2 |
2 files changed, 2 insertions, 8 deletions
diff --git a/contrib/chkpass/chkpass.sql.in b/contrib/chkpass/chkpass.sql.in index d4bf912c0a..3339fcb0f4 100644 --- a/contrib/chkpass/chkpass.sql.in +++ b/contrib/chkpass/chkpass.sql.in @@ -53,17 +53,13 @@ CREATE FUNCTION ne(chkpass, text) LANGUAGE C STRICT; -- --- Now the operators. Note how some of the parameters to some --- of the 'create operator' commands are commented out. This --- is because they reference as yet undefined operators, and --- will be implicitly defined when those are, further down. +-- Now the operators. -- CREATE OPERATOR = ( leftarg = chkpass, rightarg = text, - commutator = =, --- negator = <>, + negator = <>, procedure = eq ); diff --git a/contrib/chkpass/uninstall_chkpass.sql b/contrib/chkpass/uninstall_chkpass.sql index 4a4737a1d5..34ad3fde8f 100644 --- a/contrib/chkpass/uninstall_chkpass.sql +++ b/contrib/chkpass/uninstall_chkpass.sql @@ -4,8 +4,6 @@ DROP OPERATOR <>(chkpass, text); DROP OPERATOR =(chkpass, text); -DROP OPERATOR =(text, chkpass); - DROP FUNCTION ne(chkpass, text); DROP FUNCTION eq(chkpass, text); |