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

Commitbb818b5

Browse files
committed
Remove a couple of comments from the pg_lsn regression test.
Previously, one of these was a negative test case, but that gotchanged along the way and the comments didn't get the memo.Michael Paquier
1 parentbb4eefe commitbb818b5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

‎src/test/regress/expected/pg_lsn.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ SELECT '0/16AE7F8' > pg_lsn '0/16AE7F7';
5252
t
5353
(1 row)
5454

55-
SELECT '0/16AE7F7'::pg_lsn - '0/16AE7F8'::pg_lsn; -- No negative results
55+
SELECT '0/16AE7F7'::pg_lsn - '0/16AE7F8'::pg_lsn;
5656
?column?
5757
----------
5858
-1
5959
(1 row)
6060

61-
SELECT '0/16AE7F8'::pg_lsn - '0/16AE7F7'::pg_lsn; -- correct
61+
SELECT '0/16AE7F8'::pg_lsn - '0/16AE7F7'::pg_lsn;
6262
?column?
6363
----------
6464
1

‎src/test/regress/sql/pg_lsn.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ SELECT '0/16AE7F8' = '0/16AE7F8'::pg_lsn;
2121
SELECT'0/16AE7F8'::pg_lsn!='0/16AE7F7';
2222
SELECT'0/16AE7F7'<'0/16AE7F8'::pg_lsn;
2323
SELECT'0/16AE7F8'> pg_lsn'0/16AE7F7';
24-
SELECT'0/16AE7F7'::pg_lsn-'0/16AE7F8'::pg_lsn;-- No negative results
25-
SELECT'0/16AE7F8'::pg_lsn-'0/16AE7F7'::pg_lsn;-- correct
24+
SELECT'0/16AE7F7'::pg_lsn-'0/16AE7F8'::pg_lsn;
25+
SELECT'0/16AE7F8'::pg_lsn-'0/16AE7F7'::pg_lsn;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp