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

Commit3c551eb

Browse files
committed
citext: Allow tests to pass in OpenSSL FIPS mode
citext doesn't define an md5() function, so the value of using it inits tests is dubious. At best this shows in an indirect way that thecast from citext to text works. Avoid the issue and remove the test.Discussion:https://www.postgresql.org/message-id/flat/dbbd927f-ef1f-c9a1-4ec6-c759778ac852%40enterprisedb.com
1 parent8af917b commit3c551eb

File tree

3 files changed

+0
-19
lines changed

3 files changed

+0
-19
lines changed

‎contrib/citext/expected/citext.out‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,15 +1744,6 @@ SELECT ltrim('zzzytrim'::citext, 'xyz'::text ) = 'trim' AS t;
17441744
t
17451745
(1 row)
17461746

1747-
SELECT md5( name ) = md5( name::text ) AS t FROM srt;
1748-
t
1749-
---
1750-
t
1751-
t
1752-
t
1753-
t
1754-
(4 rows)
1755-
17561747
-- pg_client_encoding() takes no args and returns name.
17571748
SELECT quote_ident( name ) = quote_ident( name::text ) AS t FROM srt;
17581749
t

‎contrib/citext/expected/citext_1.out‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1744,15 +1744,6 @@ SELECT ltrim('zzzytrim'::citext, 'xyz'::text ) = 'trim' AS t;
17441744
t
17451745
(1 row)
17461746

1747-
SELECT md5( name ) = md5( name::text ) AS t FROM srt;
1748-
t
1749-
---
1750-
t
1751-
t
1752-
t
1753-
t
1754-
(4 rows)
1755-
17561747
-- pg_client_encoding() takes no args and returns name.
17571748
SELECT quote_ident( name ) = quote_ident( name::text ) AS t FROM srt;
17581749
t

‎contrib/citext/sql/citext.sql‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,6 @@ SELECT ltrim('zzzytrim'::citext, 'xyz'::citext) = 'trim' AS t;
574574
SELECT ltrim('zzzytrim'::text,'xyz'::citext)='trim'AS t;
575575
SELECT ltrim('zzzytrim'::citext,'xyz'::text )='trim'AS t;
576576

577-
SELECT md5( name )= md5( name::text )AS tFROM srt;
578577
-- pg_client_encoding() takes no args and returns name.
579578
SELECT quote_ident( name )= quote_ident( name::text )AS tFROM srt;
580579
SELECT quote_literal( name )= quote_literal( name::text )AS tFROM srt;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp