Commit 35b16865 authored by Bruce Momjian's avatar Bruce Momjian

Add disk space message to "can not extend" message.

parent c3a32d75
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.42 1999/04/19 04:17:11 tgl Exp $ * $Header: /cvsroot/pgsql/src/backend/parser/parse_expr.c,v 1.43 1999/04/23 19:37:41 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -518,8 +518,8 @@ transformIdent(ParseState *pstate, Node *expr, int precedence) ...@@ -518,8 +518,8 @@ transformIdent(ParseState *pstate, Node *expr, int precedence)
/* we add the relation name for them */ /* we add the relation name for them */
att->relname = rte->refname; att->relname = rte->refname;
att->attrs = lcons(makeString(ident->name), NIL); att->attrs = lcons(makeString(ident->name), NIL);
column_result = (Node *) ParseNestedFuncOrColumn(pstate, att, &pstate->p_last_resno, column_result = (Node *) ParseNestedFuncOrColumn(pstate, att,
precedence); &pstate->p_last_resno, precedence);
} }
/* try to find the ident as a relation */ /* try to find the ident as a relation */
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.22 1999/02/13 23:18:39 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/storage/smgr/smgr.c,v 1.23 1999/04/23 19:37:42 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -170,7 +170,7 @@ smgrextend(int16 which, Relation reln, char *buffer) ...@@ -170,7 +170,7 @@ smgrextend(int16 which, Relation reln, char *buffer)
status = (*(smgrsw[which].smgr_extend)) (reln, buffer); status = (*(smgrsw[which].smgr_extend)) (reln, buffer);
if (status == SM_FAIL) if (status == SM_FAIL)
elog(ERROR, "%s: cannot extend", reln->rd_rel->relname.data); elog(ERROR, "%s: cannot extend. Check free disk space.", reln->rd_rel->relname.data);
return status; return status;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment