Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
55165497
Commit
55165497
authored
Jul 05, 2015
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some typos in regression test comments.
Back-patch to avoid unnecessary cross-branch differences. CharSyam
parent
6c82d8d1
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
src/test/regress/expected/alter_generic.out
src/test/regress/expected/alter_generic.out
+1
-1
src/test/regress/expected/jsonb.out
src/test/regress/expected/jsonb.out
+2
-2
src/test/regress/expected/jsonb_1.out
src/test/regress/expected/jsonb_1.out
+2
-2
src/test/regress/sql/alter_generic.sql
src/test/regress/sql/alter_generic.sql
+1
-1
src/test/regress/sql/jsonb.sql
src/test/regress/sql/jsonb.sql
+2
-2
No files found.
src/test/regress/expected/alter_generic.out
View file @
55165497
...
@@ -450,7 +450,7 @@ ERROR: associated data types must be specified for index support procedure
...
@@ -450,7 +450,7 @@ ERROR: associated data types must be specified for index support procedure
DROP OPERATOR FAMILY alt_opf16 USING gist;
DROP OPERATOR FAMILY alt_opf16 USING gist;
-- Should fail. duplicate operator number / function number in ALTER OPERATOR FAMILY ... ADD FUNCTION
-- Should fail. duplicate operator number / function number in ALTER OPERATOR FAMILY ... ADD FUNCTION
CREATE OPERATOR FAMILY alt_opf17 USING btree;
CREATE OPERATOR FAMILY alt_opf17 USING btree;
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4), OPERATOR 1 < (int4, int4); -- operator # appears twice in same statment
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4), OPERATOR 1 < (int4, int4); -- operator # appears twice in same stat
e
ment
ERROR: operator number 1 for (integer,integer) appears more than once
ERROR: operator number 1 for (integer,integer) appears more than once
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested first-time
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested first-time
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested again in separate statement
ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4); -- operator 1 requested again in separate statement
...
...
src/test/regress/expected/jsonb.out
View file @
55165497
...
@@ -2162,7 +2162,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
...
@@ -2162,7 +2162,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
3
3
(1 row)
(1 row)
-- ex
c
ercise GIN_SEARCH_MODE_ALL
-- exercise GIN_SEARCH_MODE_ALL
SELECT count(*) FROM testjsonb WHERE j @> '{}';
SELECT count(*) FROM testjsonb WHERE j @> '{}';
count
count
-------
-------
...
@@ -2336,7 +2336,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
...
@@ -2336,7 +2336,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
2
2
(1 row)
(1 row)
-- ex
c
ercise GIN_SEARCH_MODE_ALL
-- exercise GIN_SEARCH_MODE_ALL
SELECT count(*) FROM testjsonb WHERE j @> '{}';
SELECT count(*) FROM testjsonb WHERE j @> '{}';
count
count
-------
-------
...
...
src/test/regress/expected/jsonb_1.out
View file @
55165497
...
@@ -2162,7 +2162,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
...
@@ -2162,7 +2162,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"array":["bar"]}';
3
3
(1 row)
(1 row)
-- ex
c
ercise GIN_SEARCH_MODE_ALL
-- exercise GIN_SEARCH_MODE_ALL
SELECT count(*) FROM testjsonb WHERE j @> '{}';
SELECT count(*) FROM testjsonb WHERE j @> '{}';
count
count
-------
-------
...
@@ -2336,7 +2336,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
...
@@ -2336,7 +2336,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25.0}';
2
2
(1 row)
(1 row)
-- ex
c
ercise GIN_SEARCH_MODE_ALL
-- exercise GIN_SEARCH_MODE_ALL
SELECT count(*) FROM testjsonb WHERE j @> '{}';
SELECT count(*) FROM testjsonb WHERE j @> '{}';
count
count
-------
-------
...
...
src/test/regress/sql/alter_generic.sql
View file @
55165497
...
@@ -390,7 +390,7 @@ DROP OPERATOR FAMILY alt_opf16 USING gist;
...
@@ -390,7 +390,7 @@ DROP OPERATOR FAMILY alt_opf16 USING gist;
-- Should fail. duplicate operator number / function number in ALTER OPERATOR FAMILY ... ADD FUNCTION
-- Should fail. duplicate operator number / function number in ALTER OPERATOR FAMILY ... ADD FUNCTION
CREATE
OPERATOR
FAMILY
alt_opf17
USING
btree
;
CREATE
OPERATOR
FAMILY
alt_opf17
USING
btree
;
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
OPERATOR
1
<
(
int4
,
int4
),
OPERATOR
1
<
(
int4
,
int4
);
-- operator # appears twice in same statment
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
OPERATOR
1
<
(
int4
,
int4
),
OPERATOR
1
<
(
int4
,
int4
);
-- operator # appears twice in same stat
e
ment
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
OPERATOR
1
<
(
int4
,
int4
);
-- operator 1 requested first-time
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
OPERATOR
1
<
(
int4
,
int4
);
-- operator 1 requested first-time
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
OPERATOR
1
<
(
int4
,
int4
);
-- operator 1 requested again in separate statement
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
OPERATOR
1
<
(
int4
,
int4
);
-- operator 1 requested again in separate statement
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
ALTER
OPERATOR
FAMILY
alt_opf17
USING
btree
ADD
...
...
src/test/regress/sql/jsonb.sql
View file @
55165497
...
@@ -529,7 +529,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25}';
...
@@ -529,7 +529,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"age":25}';
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"age":25.0}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"age":25.0}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"array":["foo"]}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"array":["foo"]}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"array":["bar"]}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"array":["bar"]}'
;
-- ex
c
ercise GIN_SEARCH_MODE_ALL
-- exercise GIN_SEARCH_MODE_ALL
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
?
'public'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
?
'public'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
?
'bar'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
?
'bar'
;
...
@@ -582,7 +582,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"wait":"CC"}';
...
@@ -582,7 +582,7 @@ SELECT count(*) FROM testjsonb WHERE j @> '{"wait":"CC"}';
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"wait":"CC", "public":true}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"wait":"CC", "public":true}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"age":25}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"age":25}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"age":25.0}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{"age":25.0}'
;
-- ex
c
ercise GIN_SEARCH_MODE_ALL
-- exercise GIN_SEARCH_MODE_ALL
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{}'
;
SELECT
count
(
*
)
FROM
testjsonb
WHERE
j
@>
'{}'
;
RESET
enable_seqscan
;
RESET
enable_seqscan
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment