Skip to content

Commit bb818b5

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 got changed along the way and the comments didn't get the memo. Michael Paquier
1 parent bb4eefe commit bb818b5

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy