File tree Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Expand file tree Collapse file tree 2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 2
2
-- ERRORS
3
3
--
4
4
-- bad in postquel, but ok in postsql
5
- select 1
5
+ select 1;
6
+ ?column?
7
+ ----------
8
+ 1
9
+ (1 row)
10
+
6
11
--
7
12
-- UNSUPPORTED STUFF
8
13
@@ -16,10 +21,14 @@ select 1
16
21
-- RETRIEVE
17
22
18
23
-- missing relation name
19
- select
24
+ select;
25
+ ERROR: parser: parse error at or near ";" at character 7
20
26
-- no such relation
21
27
select * from nonesuch;
22
- ERROR: parser: parse error at or near "select" at character 10
28
+ ERROR: Relation "nonesuch" does not exist
29
+ -- missing target list
30
+ select from pg_database;
31
+ ERROR: parser: parse error at or near "from" at character 8
23
32
-- bad name in target list
24
33
select nonesuch from pg_database;
25
34
ERROR: Attribute "nonesuch" not found
Original file line number Diff line number Diff line change 3
3
--
4
4
5
5
-- bad in postquel, but ok in postsql
6
- select 1
6
+ select 1 ;
7
7
8
8
9
9
--
@@ -20,11 +20,13 @@ select 1
20
20
-- RETRIEVE
21
21
22
22
-- missing relation name
23
- select
23
+ select ;
24
24
25
25
-- no such relation
26
26
select * from nonesuch;
27
27
28
+ -- missing target list
29
+ select from pg_database;
28
30
-- bad name in target list
29
31
select nonesuch from pg_database;
30
32
-- bad attribute name on lhs of operator
You can’t perform that action at this time.
0 commit comments