]> granicus.if.org Git - postgresql/commitdiff
Remove a couple of comments from the pg_lsn regression test.
authorRobert Haas <rhaas@postgresql.org>
Mon, 24 Feb 2014 14:32:21 +0000 (09:32 -0500)
committerRobert Haas <rhaas@postgresql.org>
Mon, 24 Feb 2014 14:32:21 +0000 (09:32 -0500)
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

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

index 01d298397bc15b0a6d7c9b6ea3357695e2e60ee7..504768c203875a2da607b1b435bf2bc96b37a7cf 100644 (file)
@@ -52,13 +52,13 @@ SELECT '0/16AE7F8' > pg_lsn '0/16AE7F7';
  t
 (1 row)
 
-SELECT '0/16AE7F7'::pg_lsn - '0/16AE7F8'::pg_lsn; -- No negative results
+SELECT '0/16AE7F7'::pg_lsn - '0/16AE7F8'::pg_lsn;
  ?column? 
 ----------
        -1
 (1 row)
 
-SELECT '0/16AE7F8'::pg_lsn - '0/16AE7F7'::pg_lsn; -- correct
+SELECT '0/16AE7F8'::pg_lsn - '0/16AE7F7'::pg_lsn;
  ?column? 
 ----------
         1
index dddafb32f710bd662344c84b651a1cf780a13780..1634d37f7010357124ce3d4ae7fde65e26668a7b 100644 (file)
@@ -21,5 +21,5 @@ SELECT '0/16AE7F8' = '0/16AE7F8'::pg_lsn;
 SELECT '0/16AE7F8'::pg_lsn != '0/16AE7F7';
 SELECT '0/16AE7F7' < '0/16AE7F8'::pg_lsn;
 SELECT '0/16AE7F8' > pg_lsn '0/16AE7F7';
-SELECT '0/16AE7F7'::pg_lsn - '0/16AE7F8'::pg_lsn; -- No negative results
-SELECT '0/16AE7F8'::pg_lsn - '0/16AE7F7'::pg_lsn; -- correct
+SELECT '0/16AE7F7'::pg_lsn - '0/16AE7F8'::pg_lsn;
+SELECT '0/16AE7F8'::pg_lsn - '0/16AE7F7'::pg_lsn;