diff options
| author | Tom Lane | 1999-12-09 05:58:56 +0000 |
|---|---|---|
| committer | Tom Lane | 1999-12-09 05:58:56 +0000 |
| commit | f7f41c7c8c34edec610240405569ed6e0954e03e (patch) | |
| tree | 39c0737d7aceed48126cf0f20da82fd4c2442b5b /src/test | |
| parent | d65a27f9509e8cbd0a0d8a58597bd096c2a22207 (diff) | |
Replace generic 'Illegal use of aggregates' error message with one that
shows the specific ungrouped variable being complained of. Perhaps this
will reduce user confusion...
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/regress/expected/select_implicit.out | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/select_implicit.out b/src/test/regress/expected/select_implicit.out index a9b94c9b1e1..427198fb4ad 100644 --- a/src/test/regress/expected/select_implicit.out +++ b/src/test/regress/expected/select_implicit.out @@ -32,7 +32,7 @@ count (6 rows) QUERY: SELECT count(*) FROM test_missing_target GROUP BY a ORDER BY b; -ERROR: Illegal use of aggregates or non-group column in target list +ERROR: Attribute test_missing_target.b must be GROUPed or used in an aggregate function QUERY: SELECT count(*) FROM test_missing_target GROUP BY b ORDER BY b; count ----- @@ -194,7 +194,7 @@ count (4 rows) QUERY: SELECT count(a) FROM test_missing_target GROUP BY a ORDER BY b; -ERROR: Illegal use of aggregates or non-group column in target list +ERROR: Attribute test_missing_target.b must be GROUPed or used in an aggregate function QUERY: SELECT count(b) FROM test_missing_target GROUP BY b/2 ORDER BY b/2; count ----- |
