1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-07 19:06:32 +03:00

Print error on SELECT tab FROM tab:

You can't use relation names alone in the target list, try relation.*
This commit is contained in:
Bruce Momjian
2001-05-21 18:42:08 +00:00
parent 984bf07a65
commit 66e9ee79c7
4 changed files with 11 additions and 6 deletions

View File

@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: parsenodes.h,v 1.128 2001/05/20 20:28:20 tgl Exp $
* $Id: parsenodes.h,v 1.129 2001/05/21 18:42:08 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -1081,8 +1081,7 @@ typedef struct Ident
NodeTag type;
char *name; /* its name */
List *indirection; /* array references */
bool isRel; /* is a relation - filled in by
* transformExpr() */
bool isRel; /* is this a relation or a column? */
} Ident;
/*