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

Commitbcba09e

Browse files
committed
Ooops, missed that a couple of contrib modules have calls to byteacmp.
Add bytea.h inclusions as needed. Some of the contrib regression testsneed to be de-hexified, too. Per buildfarm.
1 parent5b8ee5c commitbcba09e

20 files changed

+54
-51
lines changed

‎contrib/btree_gin/btree_gin.c‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/btree_gin/btree_gin.c,v 1.2 2009/06/11 14:48:50momjian Exp $
2+
* $PostgreSQL: pgsql/contrib/btree_gin/btree_gin.c,v 1.3 2009/08/04 18:49:50tgl Exp $
33
*/
44
#include"postgres.h"
55

@@ -8,6 +8,7 @@
88
#include"fmgr.h"
99
#include"access/skey.h"
1010
#include"utils/builtins.h"
11+
#include"utils/bytea.h"
1112
#include"utils/cash.h"
1213
#include"utils/date.h"
1314
#include"utils/inet.h"

‎contrib/btree_gin/expected/bytea.out‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
set enable_seqscan=off;
2+
-- ensure consistent test output regardless of the default bytea format
3+
SET bytea_output TO escape;
24
CREATE TABLE test_bytea (
35
i bytea
46
);

‎contrib/btree_gin/sql/bytea.sql‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
set enable_seqscan=off;
2+
-- ensure consistent test output regardless of the default bytea format
3+
SET bytea_output TO escape;
24

35
CREATETABLEtest_bytea (
46
ibytea

‎contrib/btree_gist/btree_bit.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bit.c,v 1.10 2009/06/11 14:48:50momjian Exp $
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bit.c,v 1.11 2009/08/04 18:49:50tgl Exp $
33
*/
44
#include"btree_gist.h"
55
#include"btree_utils_var.h"
6-
#include"utils/builtins.h"
6+
#include"utils/bytea.h"
77
#include"utils/varbit.h"
88

99

‎contrib/btree_gist/btree_bytea.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/*
2-
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bytea.c,v 1.9 2009/06/11 14:48:50momjian Exp $
2+
* $PostgreSQL: pgsql/contrib/btree_gist/btree_bytea.c,v 1.10 2009/08/04 18:49:50tgl Exp $
33
*/
44
#include"btree_gist.h"
55
#include"btree_utils_var.h"
6-
#include"utils/builtins.h"
6+
#include"utils/bytea.h"
77

88

99
/*

‎contrib/citext/expected/citext.out‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -737,18 +737,6 @@ SELECT 'f'::citext::"char" = 'f'::"char" AS t;
737737
t
738738
(1 row)
739739

740-
SELECT 'foo'::bytea::citext = 'foo' AS t;
741-
t
742-
---
743-
t
744-
(1 row)
745-
746-
SELECT 'foo'::citext::bytea = 'foo'::bytea AS t;
747-
t
748-
---
749-
t
750-
(1 row)
751-
752740
SELECT '100'::money::citext = '$100.00' AS t;
753741
t
754742
---

‎contrib/citext/expected/citext_1.out‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -737,18 +737,6 @@ SELECT 'f'::citext::"char" = 'f'::"char" AS t;
737737
t
738738
(1 row)
739739

740-
SELECT 'foo'::bytea::citext = 'foo' AS t;
741-
t
742-
---
743-
t
744-
(1 row)
745-
746-
SELECT 'foo'::citext::bytea = 'foo'::bytea AS t;
747-
t
748-
---
749-
t
750-
(1 row)
751-
752740
SELECT '100'::money::citext = '$100.00' AS t;
753741
t
754742
---

‎contrib/citext/sql/citext.sql‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,6 @@ SELECT 'f'::citext::char = 'f'::char AS t;
226226
SELECT'f'::"char"::citext='f'AS t;
227227
SELECT'f'::citext::"char"='f'::"char"AS t;
228228

229-
SELECT'foo'::bytea::citext='foo'AS t;
230-
SELECT'foo'::citext::bytea='foo'::byteaAS t;
231-
232229
SELECT'100'::money::citext='$100.00'AS t;
233230
SELECT'100'::citext::money='100'::moneyAS t;
234231

‎contrib/pgcrypto/expected/blowfish.out‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
--
22
-- Blowfish cipher
33
--
4+
-- ensure consistent test output regardless of the default bytea format
5+
SET bytea_output TO escape;
46
-- some standard Blowfish testvalues
57
SELECT encode(encrypt(
68
decode('0000000000000000', 'hex'),

‎contrib/pgcrypto/expected/init.out‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
SET client_min_messages = warning;
99
\set ECHO none
1010
RESET client_min_messages;
11+
-- ensure consistent test output regardless of the default bytea format
12+
SET bytea_output TO escape;
1113
-- check for encoding fn's
1214
SELECT encode('foo', 'hex');
1315
encode

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp