Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8b1ba5

Browse files
committed
SELECT * error message fix.
1 parenta0b7daa commitb8b1ba5

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/backend/parser/parse_target.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* 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 $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -814,16 +814,15 @@ ExpandAllTables(ParseState *pstate)
814814
rtable=pstate->p_rtable;
815815
if (pstate->p_is_rule)
816816
{
817-
818817
/*
819818
* skip first two entries, "*new*" and "*current*"
820819
*/
821820
rtable=lnext(lnext(pstate->p_rtable));
822821
}
823822

824-
/*this should not happen */
823+
/*SELECT *; */
825824
if (rtable==NULL)
826-
elog(ERROR,"Cannot expandtables; null p_rtable (internal error)");
825+
elog(ERROR,"Wildcard with notables specified.");
827826

828827
/*
829828
* go through the range table and make a list of range table entries

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp