Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit591abe1

Browse files
committed
Remove bogus commutator marking --- the module doesn't actually supply
any commutator operator for =(chkpass,text), so this was creating ashell operator that would fail on use. Found by opr_sanity testing.
1 parent24ad7d4 commit591abe1

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

‎contrib/chkpass/chkpass.sql.in

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- darcy@druid.net
55
-- http://www.druid.net/darcy/
66
--
7-
-- $PostgreSQL: pgsql/contrib/chkpass/chkpass.sql.in,v 1.6 2005/01/2922:35:01 tgl Exp $
7+
-- $PostgreSQL: pgsql/contrib/chkpass/chkpass.sql.in,v 1.7 2007/09/2923:32:42 tgl Exp $
88
--
99
-- best viewed with tabs set to 4
1010
--
@@ -53,17 +53,13 @@ CREATE FUNCTION ne(chkpass, text)
5353
LANGUAGE C STRICT;
5454

5555
--
56-
--Now the operators. Note how some of the parameters to some
57-
--of the 'create operator' commands are commented out. This
58-
--is because they reference as yet undefined operators, and
59-
--will be implicitly defined when those are, further down.
56+
--Now the operators.
6057
--
6158

6259
CREATE OPERATOR = (
6360
leftarg = chkpass,
6461
rightarg = text,
65-
commutator = =,
66-
--negator = <>,
62+
negator = <>,
6763
procedure = eq
6864
);
6965

‎contrib/chkpass/uninstall_chkpass.sql

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ DROP OPERATOR <>(chkpass, text);
44

55
DROPOPERATOR=(chkpass,text);
66

7-
DROPOPERATOR=(text, chkpass);
8-
97
DROPFUNCTION ne(chkpass,text);
108

119
DROPFUNCTION eq(chkpass,text);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp