Do jsonb regression test input in the conventional way.
This should make the buildfarm happier.
This commit is contained in:
parent
ca07cd59b2
commit
ab22b149c6
|
@ -196,6 +196,9 @@ CREATE TABLE array_index_op_test (
|
|||
i int4[],
|
||||
t text[]
|
||||
);
|
||||
CREATE TABLE testjsonb (
|
||||
j jsonb
|
||||
);
|
||||
CREATE TABLE IF NOT EXISTS test_tsvector(
|
||||
t text,
|
||||
a tsvector
|
||||
|
|
|
@ -457,8 +457,6 @@ SELECT '{"x":"y"}'::jsonb <> '{"x":"z"}'::jsonb;
|
|||
t
|
||||
(1 row)
|
||||
|
||||
CREATE TABLE testjsonb (j jsonb);
|
||||
\copy testjsonb FROM 'data/jsonb.data'
|
||||
-- containment
|
||||
SELECT jsonb_contains('{"a":"b", "b":1, "c":null}', '{"a":"b"}');
|
||||
jsonb_contains
|
||||
|
|
|
@ -457,8 +457,6 @@ SELECT '{"x":"y"}'::jsonb <> '{"x":"z"}'::jsonb;
|
|||
t
|
||||
(1 row)
|
||||
|
||||
CREATE TABLE testjsonb (j jsonb);
|
||||
\copy testjsonb FROM 'data/jsonb.data'
|
||||
-- containment
|
||||
SELECT jsonb_contains('{"a":"b", "b":1, "c":null}', '{"a":"b"}');
|
||||
jsonb_contains
|
||||
|
|
|
@ -160,6 +160,7 @@ test_range_excl|t
|
|||
test_range_gist|t
|
||||
test_range_spgist|t
|
||||
test_tsvector|f
|
||||
testjsonb|f
|
||||
text_tbl|f
|
||||
time_tbl|f
|
||||
timestamp_tbl|f
|
||||
|
|
|
@ -41,6 +41,8 @@ COPY hash_f8_heap FROM '@abs_srcdir@/data/hash.data';
|
|||
|
||||
COPY test_tsvector FROM '@abs_srcdir@/data/tsearch.data';
|
||||
|
||||
COPY testjsonb FROM '@abs_srcdir@/data/jsonb.data';
|
||||
|
||||
-- the data in this file has a lot of duplicates in the index key
|
||||
-- fields, leading to long bucket chains and lots of table expansion.
|
||||
-- this is therefore a stress test of the bucket overflow code (unlike
|
||||
|
|
|
@ -22,6 +22,7 @@ COPY hash_name_heap FROM '@abs_srcdir@/data/hash.data';
|
|||
COPY hash_txt_heap FROM '@abs_srcdir@/data/hash.data';
|
||||
COPY hash_f8_heap FROM '@abs_srcdir@/data/hash.data';
|
||||
COPY test_tsvector FROM '@abs_srcdir@/data/tsearch.data';
|
||||
COPY testjsonb FROM '@abs_srcdir@/data/jsonb.data';
|
||||
-- the data in this file has a lot of duplicates in the index key
|
||||
-- fields, leading to long bucket chains and lots of table expansion.
|
||||
-- this is therefore a stress test of the bucket overflow code (unlike
|
||||
|
|
|
@ -680,6 +680,7 @@ SELECT user_relns() AS user_relns
|
|||
test_range_gist
|
||||
test_range_spgist
|
||||
test_tsvector
|
||||
testjsonb
|
||||
text_tbl
|
||||
time_tbl
|
||||
timestamp_tbl
|
||||
|
@ -697,7 +698,7 @@ SELECT user_relns() AS user_relns
|
|||
tvvmv
|
||||
varchar_tbl
|
||||
xacttest
|
||||
(119 rows)
|
||||
(120 rows)
|
||||
|
||||
SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer')));
|
||||
name
|
||||
|
|
|
@ -232,6 +232,10 @@ CREATE TABLE array_index_op_test (
|
|||
t text[]
|
||||
);
|
||||
|
||||
CREATE TABLE testjsonb (
|
||||
j jsonb
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS test_tsvector(
|
||||
t text,
|
||||
a tsvector
|
||||
|
|
|
@ -115,9 +115,6 @@ SELECT '{"x":"y"}'::jsonb = '{"x":"z"}'::jsonb;
|
|||
SELECT '{"x":"y"}'::jsonb <> '{"x":"y"}'::jsonb;
|
||||
SELECT '{"x":"y"}'::jsonb <> '{"x":"z"}'::jsonb;
|
||||
|
||||
CREATE TABLE testjsonb (j jsonb);
|
||||
\copy testjsonb FROM 'data/jsonb.data'
|
||||
|
||||
-- containment
|
||||
SELECT jsonb_contains('{"a":"b", "b":1, "c":null}', '{"a":"b"}');
|
||||
SELECT jsonb_contains('{"a":"b", "b":1, "c":null}', '{"a":"b", "c":null}');
|
||||
|
|
Loading…
Reference in New Issue