Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
52ca149b
Commit
52ca149b
authored
Nov 21, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update regress tests to reflect removal of 'current'.
parent
370174b9
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
13 additions
and
11 deletions
+13
-11
src/test/regress/expected/abstime-solaris-1947.out
src/test/regress/expected/abstime-solaris-1947.out
+1
-1
src/test/regress/expected/abstime.out
src/test/regress/expected/abstime.out
+1
-1
src/test/regress/expected/horology-no-DST-before-1970.out
src/test/regress/expected/horology-no-DST-before-1970.out
+2
-2
src/test/regress/expected/horology-solaris-1947.out
src/test/regress/expected/horology-solaris-1947.out
+2
-2
src/test/regress/expected/horology.out
src/test/regress/expected/horology.out
+2
-2
src/test/regress/expected/timestamp.out
src/test/regress/expected/timestamp.out
+1
-0
src/test/regress/expected/timestamptz.out
src/test/regress/expected/timestamptz.out
+1
-0
src/test/regress/sql/abstime.sql
src/test/regress/sql/abstime.sql
+1
-1
src/test/regress/sql/horology.sql
src/test/regress/sql/horology.sql
+2
-2
No files found.
src/test/regress/expected/abstime-solaris-1947.out
View file @
52ca149b
...
...
@@ -10,7 +10,7 @@
--
CREATE TABLE ABSTIME_TBL (f1 abstime);
BEGIN;
INSERT INTO ABSTIME_TBL (f1) VALUES (abstime '
current
');
INSERT INTO ABSTIME_TBL (f1) VALUES (abstime '
now
');
INSERT INTO ABSTIME_TBL (f1) VALUES (abstime 'now');
SELECT count(*) AS two FROM ABSTIME_TBL WHERE f1 = 'now' ;
two
...
...
src/test/regress/expected/abstime.out
View file @
52ca149b
...
...
@@ -10,7 +10,7 @@
--
CREATE TABLE ABSTIME_TBL (f1 abstime);
BEGIN;
INSERT INTO ABSTIME_TBL (f1) VALUES (abstime '
current
');
INSERT INTO ABSTIME_TBL (f1) VALUES (abstime '
now
');
INSERT INTO ABSTIME_TBL (f1) VALUES (abstime 'now');
SELECT count(*) AS two FROM ABSTIME_TBL WHERE f1 = 'now' ;
two
...
...
src/test/regress/expected/horology-no-DST-before-1970.out
View file @
52ca149b
...
...
@@ -2000,7 +2000,7 @@ SELECT '' AS three, ABSTIME_TBL.*
--
SELECT '' AS "16", f1 AS "timestamp", date(f1) AS date
FROM TEMP_TIMESTAMP
WHERE f1 <> timestamp '
current
'
WHERE f1 <> timestamp '
now
'
ORDER BY date, "timestamp";
16 | timestamp | date
----+------------------------------+------------
...
...
@@ -2047,7 +2047,7 @@ SELECT '' AS "16", f1 AS "timestamp", abstime(f1) AS abstime
SELECT '' AS four, f1 AS abstime, date(f1) AS date
FROM ABSTIME_TBL
WHERE isfinite(f1) AND f1 <> abstime '
current
'
WHERE isfinite(f1) AND f1 <> abstime '
now
'
ORDER BY date, abstime;
four | abstime | date
------+------------------------------+------------
...
...
src/test/regress/expected/horology-solaris-1947.out
View file @
52ca149b
...
...
@@ -2000,7 +2000,7 @@ SELECT '' AS three, ABSTIME_TBL.*
--
SELECT '' AS "16", f1 AS "timestamp", date(f1) AS date
FROM TEMP_TIMESTAMP
WHERE f1 <> timestamp '
current
'
WHERE f1 <> timestamp '
now
'
ORDER BY date, "timestamp";
16 | timestamp | date
----+------------------------------+------------
...
...
@@ -2047,7 +2047,7 @@ SELECT '' AS "16", f1 AS "timestamp", abstime(f1) AS abstime
SELECT '' AS four, f1 AS abstime, date(f1) AS date
FROM ABSTIME_TBL
WHERE isfinite(f1) AND f1 <> abstime '
current
'
WHERE isfinite(f1) AND f1 <> abstime '
now
'
ORDER BY date, abstime;
four | abstime | date
------+------------------------------+------------
...
...
src/test/regress/expected/horology.out
View file @
52ca149b
...
...
@@ -2000,7 +2000,7 @@ SELECT '' AS three, ABSTIME_TBL.*
--
SELECT '' AS "16", f1 AS "timestamp", date(f1) AS date
FROM TEMP_TIMESTAMP
WHERE f1 <> timestamp '
current
'
WHERE f1 <> timestamp '
now
'
ORDER BY date, "timestamp";
16 | timestamp | date
----+------------------------------+------------
...
...
@@ -2047,7 +2047,7 @@ SELECT '' AS "16", f1 AS "timestamp", abstime(f1) AS abstime
SELECT '' AS four, f1 AS abstime, date(f1) AS date
FROM ABSTIME_TBL
WHERE isfinite(f1) AND f1 <> abstime '
current
'
WHERE isfinite(f1) AND f1 <> abstime '
now
'
ORDER BY date, abstime;
four | abstime | date
------+------------------------------+------------
...
...
src/test/regress/expected/timestamp.out
View file @
52ca149b
...
...
@@ -11,6 +11,7 @@ CREATE TABLE TIMESTAMP_TBL ( d1 timestamp(2) without time zone);
-- statements.
INSERT INTO TIMESTAMP_TBL VALUES ('now');
INSERT INTO TIMESTAMP_TBL VALUES ('current');
ERROR: Bad timestamp external representation 'current'
INSERT INTO TIMESTAMP_TBL VALUES ('today');
INSERT INTO TIMESTAMP_TBL VALUES ('yesterday');
INSERT INTO TIMESTAMP_TBL VALUES ('tomorrow');
...
...
src/test/regress/expected/timestamptz.out
View file @
52ca149b
...
...
@@ -6,6 +6,7 @@ SET australian_timezones = 'off';
CREATE TABLE TIMESTAMPTZ_TBL ( d1 timestamp(2) with time zone);
INSERT INTO TIMESTAMPTZ_TBL VALUES ('now');
INSERT INTO TIMESTAMPTZ_TBL VALUES ('current');
ERROR: Bad timestamp external representation 'current'
INSERT INTO TIMESTAMPTZ_TBL VALUES ('today');
INSERT INTO TIMESTAMPTZ_TBL VALUES ('yesterday');
INSERT INTO TIMESTAMPTZ_TBL VALUES ('tomorrow');
...
...
src/test/regress/sql/abstime.sql
View file @
52ca149b
...
...
@@ -13,7 +13,7 @@
CREATE
TABLE
ABSTIME_TBL
(
f1
abstime
);
BEGIN
;
INSERT
INTO
ABSTIME_TBL
(
f1
)
VALUES
(
abstime
'
current
'
);
INSERT
INTO
ABSTIME_TBL
(
f1
)
VALUES
(
abstime
'
now
'
);
INSERT
INTO
ABSTIME_TBL
(
f1
)
VALUES
(
abstime
'now'
);
SELECT
count
(
*
)
AS
two
FROM
ABSTIME_TBL
WHERE
f1
=
'now'
;
END
;
...
...
src/test/regress/sql/horology.sql
View file @
52ca149b
...
...
@@ -229,7 +229,7 @@ SELECT '' AS three, ABSTIME_TBL.*
SELECT
''
AS
"16"
,
f1
AS
"timestamp"
,
date
(
f1
)
AS
date
FROM
TEMP_TIMESTAMP
WHERE
f1
<>
timestamp
'
current
'
WHERE
f1
<>
timestamp
'
now
'
ORDER
BY
date
,
"timestamp"
;
SELECT
''
AS
"16"
,
f1
AS
"timestamp"
,
abstime
(
f1
)
AS
abstime
...
...
@@ -238,7 +238,7 @@ SELECT '' AS "16", f1 AS "timestamp", abstime(f1) AS abstime
SELECT
''
AS
four
,
f1
AS
abstime
,
date
(
f1
)
AS
date
FROM
ABSTIME_TBL
WHERE
isfinite
(
f1
)
AND
f1
<>
abstime
'
current
'
WHERE
isfinite
(
f1
)
AND
f1
<>
abstime
'
now
'
ORDER
BY
date
,
abstime
;
SELECT
''
AS
two
,
d1
AS
"timestamp"
,
abstime
(
d1
)
AS
abstime
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment