Skip to content

Commit a7ffd1a

Browse files
committed
Update error messsage wording.
1 parent e6b054c commit a7ffd1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/parser/analyze.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
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 $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -2549,7 +2549,7 @@ transformSetOperationStmt(ParseState *pstate, SelectStmt *stmt)
25492549
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
25502550
errmsg("invalid UNION/INTERSECT/EXCEPT ORDER BY clause"),
25512551
errdetail("Only result column names can be used, not expressions or functions."),
2552-
errhint("Add the expression/function to every SELECT, or place the query in a FROM clause.")));
2552+
errhint("Add the expression/function to every SELECT, or move the UNION into a FROM clause.")));
25532553

25542554
qry->limitOffset = transformLimitClause(pstate, limitOffset,
25552555
"OFFSET");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy