|
6 | 6 | * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group |
7 | 7 | * Portions Copyright (c) 1994, Regents of the University of California |
8 | 8 | * |
9 | | - *$PostgreSQL: pgsql/src/backend/parser/analyze.c,v 1.358 2007/01/12 19:23:38 momjian Exp $ |
| 9 | + *$PostgreSQL: pgsql/src/backend/parser/analyze.c,v 1.359 2007/01/12 19:34:41 momjian Exp $ |
10 | 10 | * |
11 | 11 | *------------------------------------------------------------------------- |
12 | 12 | */ |
@@ -2549,7 +2549,7 @@ transformSetOperationStmt(ParseState *pstate, SelectStmt *stmt) |
2549 | 2549 | (errcode(ERRCODE_FEATURE_NOT_SUPPORTED), |
2550 | 2550 | errmsg("invalid UNION/INTERSECT/EXCEPT ORDER BY clause"), |
2551 | 2551 | errdetail("Only result column names can be used, not expressions or functions."), |
2552 | | -errhint("Add the expression/function to every SELECT, orplace thequery in a FROM clause."))); |
| 2552 | +errhint("Add the expression/function to every SELECT, ormove theUNION into a FROM clause."))); |
2553 | 2553 |
|
2554 | 2554 | qry->limitOffset=transformLimitClause(pstate,limitOffset, |
2555 | 2555 | "OFFSET"); |
|