From: Robert Haas Date: Mon, 24 Feb 2014 14:32:21 +0000 (-0500) Subject: Remove a couple of comments from the pg_lsn regression test. X-Git-Tag: REL9_4_BETA1~430 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bb818b53d47c77eb58bfce57516fab93d0e6965d;p=postgresql 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 --- diff --git a/src/test/regress/expected/pg_lsn.out b/src/test/regress/expected/pg_lsn.out index 01d298397b..504768c203 100644 --- a/src/test/regress/expected/pg_lsn.out +++ b/src/test/regress/expected/pg_lsn.out @@ -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 diff --git a/src/test/regress/sql/pg_lsn.sql b/src/test/regress/sql/pg_lsn.sql index dddafb32f7..1634d37f70 100644 --- a/src/test/regress/sql/pg_lsn.sql +++ b/src/test/regress/sql/pg_lsn.sql @@ -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;