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
e4b27f2a
Commit
e4b27f2a
authored
Sep 13, 1997
by
Thomas G. Lockhart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make tests match with modified error messages.
parent
aeecb4e5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
51 deletions
+13
-51
src/test/regress/expected/errors.out
src/test/regress/expected/errors.out
+0
-28
src/test/regress/expected/float4.out
src/test/regress/expected/float4.out
+5
-9
src/test/regress/expected/float8.out
src/test/regress/expected/float8.out
+8
-14
No files found.
src/test/regress/expected/errors.out
View file @
e4b27f2a
...
...
@@ -2,7 +2,6 @@ QUERY: select 1
select
select * from nonesuch;
WARN:parser: parse error at or near "select"
QUERY: select nonesuch from pg_database;
WARN:attribute "nonesuch" not found
QUERY: select * from pg_database where nonesuch = pg_database.datname;
...
...
@@ -11,22 +10,18 @@ QUERY: select * from pg_database where pg_database.datname = nonesuch;
WARN:attribute "nonesuch" not found
QUERY: select distinct on foobar from pg_database;
WARN:parser: parse error at or near "from"
QUERY: select distinct on foobar * from pg_database;
WARN:The field specified in the UNIQUE ON clause is not in the targetlist
QUERY: delete from;
WARN:parser: parse error at or near ";"
QUERY: delete from nonesuch;
WARN:nonesuch: Table does not exist.
QUERY: drop table;
WARN:parser: parse error at or near ";"
QUERY: drop table nonesuch;
WARN:Relation nonesuch Does Not Exist!
QUERY: alter table rename;
WARN:parser: parse error at or near "rename"
QUERY: alter table nonesuch rename to newnonesuch;
WARN:renamerel: relation "nonesuch" does not exist
QUERY: alter table nonesuch rename to stud_emp;
...
...
@@ -85,62 +80,46 @@ QUERY: create aggregate newcnt1 (sfunc2 = int4inc,
WARN:AggregateCreate: transition function 2 MUST have an initial value
QUERY: drop index;
WARN:parser: parse error at or near ";"
QUERY: drop index 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop index nonesuch;
WARN:index "nonesuch" nonexistent
QUERY: drop aggregate;
WARN:parser: parse error at or near ";"
QUERY: drop aggregate 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop aggregate nonesuch;
WARN:parser: parse error at or near ";"
QUERY: drop aggregate newcnt1;
WARN:parser: parse error at or near ";"
QUERY: drop aggregate newcnt nonesuch;
WARN:RemoveAggregate: type 'nonesuch' does not exist
QUERY: drop aggregate newcnt float4;
WARN:RemoveAggregate: aggregate 'newcnt' for 'float4' does not exist
QUERY: drop function ();
WARN:parser: parse error at or near "("
QUERY: drop function 314159();
WARN:parser: parse error at or near "314159"
QUERY: drop function nonesuch();
WARN:RemoveFunction: function nonesuch() does not exist
QUERY: drop type;
WARN:parser: parse error at or near ";"
QUERY: drop type 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop type nonesuch;
WARN:RemoveType: type 'nonesuch' does not exist
QUERY: drop operator;
WARN:parser: parse error at or near ";"
QUERY: drop operator equals;
WARN:parser: parse error at or near "equals"
QUERY: drop operator ===;
WARN:parser: parse error at or near ";"
QUERY: drop operator int4, int4;
WARN:parser: parse error at or near "int4"
QUERY: drop operator (int4, int4);
WARN:parser: parse error at or near "("
QUERY: drop operator === ();
WARN:parser: parse error at or near ")"
QUERY: drop operator === (int4);
WARN:parser: argument type missing (use NONE for unary operators)
QUERY: drop operator === (int4, int4);
...
...
@@ -149,28 +128,21 @@ QUERY: drop operator = (nonesuch);
WARN:parser: argument type missing (use NONE for unary operators)
QUERY: drop operator = ( , int4);
WARN:parser: parse error at or near ","
QUERY: drop operator = (nonesuch, int4);
WARN:RemoveOperator: type 'nonesuch' does not exist
QUERY: drop operator = (int4, nonesuch);
WARN:RemoveOperator: type 'nonesuch' does not exist
QUERY: drop operator = (int4, );
WARN:parser: parse error at or near ")"
QUERY: drop rule;
WARN:parser: parse error at or near ";"
QUERY: drop rule 314159;
WARN:parser: parse error at or near "314159"
QUERY: drop rule nonesuch;
WARN:RewriteGetRuleEventRel: rule "nonesuch" not found
QUERY: drop tuple rule nonesuch;
WARN:parser: parse error at or near "tuple"
QUERY: drop instance rule nonesuch;
WARN:parser: parse error at or near "instance"
QUERY: drop rewrite rule nonesuch;
WARN:parser: parse error at or near "rewrite"
src/test/regress/expected/float4.out
View file @
e4b27f2a
...
...
@@ -5,17 +5,13 @@ QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('-34.84');
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('1.2345678901234e+20');
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('1.2345678901234e-20');
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('10e40');
WARN: Bad float4 input format -- overflow
WARN:Bad float4 input format -- overflow
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('-10e40');
WARN: Bad float4 input format -- overflow
WARN:Bad float4 input format -- overflow
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('10e-40');
WARN: Bad float4 input format -- underflow
WARN:Bad float4 input format -- underflow
QUERY: INSERT INTO FLOAT4_TBL(f1) VALUES ('-10e-40');
WARN: Bad float4 input format -- underflow
WARN:Bad float4 input format -- underflow
QUERY: SELECT '' AS five, FLOAT4_TBL.*;
five|f1
----+-----------
...
...
@@ -112,7 +108,7 @@ three|f1 |x
(3 rows)
QUERY: SELECT '' AS bad, f.f1 / '0.0' from FLOAT4_TBL f;
WARN:float4div:
divide by 0.0
error
WARN:float4div:
divide by zero
error
QUERY: SELECT '' AS five, FLOAT4_TBL.*;
five|f1
----+-----------
...
...
src/test/regress/expected/float8.out
View file @
e4b27f2a
...
...
@@ -5,17 +5,13 @@ QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('-34.84');
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e+200');
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('1.2345678901234e-200');
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('10e400');
WARN: Bad float8 input format
WARN:Bad float8 input format '10e400'
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('-10e400');
WARN: Bad float8 input format
WARN:Bad float8 input format '-10e400'
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('10e-400');
WARN: Bad float8 input format
WARN:Bad float8 input format '10e-400'
QUERY: INSERT INTO FLOAT8_TBL(f1) VALUES ('-10e-400');
WARN: Bad float8 input format
WARN:Bad float8 input format '-10e-400'
QUERY: SELECT '' AS five, FLOAT8_TBL.*;
five|f1
----+--------------------
...
...
@@ -199,13 +195,11 @@ QUERY: UPDATE FLOAT8_TBL
SET f1 = FLOAT8_TBL.f1 * '-1'
WHERE FLOAT8_TBL.f1 > '0.0';
QUERY: SELECT '' AS bad, f.f1 * '1e200' from FLOAT8_TBL f;
WARN: Bad float8 input format -- overflow
WARN:Bad float8 input format -- overflow
QUERY: SELECT '' AS bad, f.f1 ^ '1e200' from FLOAT8_TBL f;
WARN:pow() returned a floating point out of the range
WARN:pow() result is out of range
QUERY: SELECT '' AS bad, (; (f.f1)) from FLOAT8_TBL f where f.f1 = '0.0' ;
WARN:can't take log of
0!
WARN:can't take log of
zero
QUERY: SELECT '' AS bad, (; (f.f1)) from FLOAT8_TBL f where f.f1 < '0.0' ;
WARN:can't take log of a negative number
QUERY: SELECT '' AS bad, : (f.f1) from FLOAT8_TBL f;
...
...
@@ -219,7 +213,7 @@ bad| ?column?
(5 rows)
QUERY: SELECT '' AS bad, f.f1 / '0.0' from FLOAT8_TBL f;
WARN:float8div:
divide by 0.0
error
WARN:float8div:
divide by zero
error
QUERY: SELECT '' AS five, FLOAT8_TBL.*;
five|f1
----+---------------------
...
...
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