Content-Length: 298711 | pFad | http://github.com/postgrespro/postgres/commit/bb818b53d47c77eb58bfce57516fab93d0e6965d

01 Remove a couple of comments from the pg_lsn regression test. · postgrespro/postgres@bb818b5 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/bb818b53d47c77eb58bfce57516fab93d0e6965d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy