summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2016-01-22 03:12:04 +0000
committerPavan Deolasee2016-10-18 09:45:32 +0000
commit68f0b66db9997f0389aa8adcea676072f09356df (patch)
treee517686704a6ff90d50cde4359ac9cbb8fb33cbb
parent6474f98a6a8e78c3d89e4db93668cce40910c7fc (diff)
Change expected output for timestamp/timestamptz tests
Looks like they were mistakenly changed while a bug existed. Now that the bug is fixed, they are giving the correct output, matching PG's results.
-rw-r--r--src/test/regress/expected/timestamp.out4
-rw-r--r--src/test/regress/expected/timestamptz.out4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/test/regress/expected/timestamp.out b/src/test/regress/expected/timestamp.out
index dad15e1f9c..3a2a671c2b 100644
--- a/src/test/regress/expected/timestamp.out
+++ b/src/test/regress/expected/timestamp.out
@@ -46,7 +46,7 @@ SELECT count(*) AS One FROM TIMESTAMP_TBL WHERE d1 = timestamp without time zone
SELECT count(*) AS One FROM TIMESTAMP_TBL WHERE d1 = timestamp(2) without time zone 'now';
one
-----
- 0
+ 1
(1 row)
COMMIT;
@@ -70,7 +70,7 @@ SELECT pg_sleep(0.1);
SELECT count(*) AS two FROM TIMESTAMP_TBL WHERE d1 = timestamp(2) without time zone 'now';
two
-----
- 1
+ 2
(1 row)
COMMIT;
diff --git a/src/test/regress/expected/timestamptz.out b/src/test/regress/expected/timestamptz.out
index 8ee9237a20..26b4a837c8 100644
--- a/src/test/regress/expected/timestamptz.out
+++ b/src/test/regress/expected/timestamptz.out
@@ -45,7 +45,7 @@ SELECT count(*) AS One FROM TIMESTAMPTZ_TBL WHERE d1 = timestamp with time zone
SELECT count(*) AS One FROM TIMESTAMPTZ_TBL WHERE d1 = timestamp(2) with time zone 'now';
one
-----
- 0
+ 1
(1 row)
COMMIT;
@@ -69,7 +69,7 @@ SELECT pg_sleep(0.1);
SELECT count(*) AS two FROM TIMESTAMPTZ_TBL WHERE d1 = timestamp(2) with time zone 'now';
two
-----
- 1
+ 2
(1 row)
COMMIT;