|
7 | 7 | *
|
8 | 8 | *
|
9 | 9 | * IDENTIFICATION
|
10 |
| - * $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.35 1999/04/29 03:01:50 tgl Exp $ |
| 10 | + * $Header: /cvsroot/pgsql/src/backend/parser/parse_target.c,v 1.36 1999/05/17 04:19:33 momjian Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
@@ -814,16 +814,15 @@ ExpandAllTables(ParseState *pstate)
|
814 | 814 | rtable=pstate->p_rtable;
|
815 | 815 | if (pstate->p_is_rule)
|
816 | 816 | {
|
817 |
| - |
818 | 817 | /*
|
819 | 818 | * skip first two entries, "*new*" and "*current*"
|
820 | 819 | */
|
821 | 820 | rtable=lnext(lnext(pstate->p_rtable));
|
822 | 821 | }
|
823 | 822 |
|
824 |
| -/*this should not happen */ |
| 823 | +/*SELECT *; */ |
825 | 824 | if (rtable==NULL)
|
826 |
| -elog(ERROR,"Cannot expandtables; null p_rtable (internal error)"); |
| 825 | +elog(ERROR,"Wildcard with notables specified."); |
827 | 826 |
|
828 | 827 | /*
|
829 | 828 | * go through the range table and make a list of range table entries
|
|