mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +03:00
Error message editing in backend/bootstrap, /lib, /nodes, /port.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.259 2003/07/03 16:32:20 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.260 2003/07/22 23:30:37 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -1328,7 +1328,8 @@ _copyAConst(A_Const *from)
|
||||
/* nothing to do */
|
||||
break;
|
||||
default:
|
||||
elog(ERROR, "_copyAConst: unknown node type %d", from->val.type);
|
||||
elog(ERROR, "unrecognized node type: %d",
|
||||
(int) from->val.type);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -2443,7 +2444,8 @@ _copyValue(Value *from)
|
||||
/* nothing to do */
|
||||
break;
|
||||
default:
|
||||
elog(ERROR, "_copyValue: unknown node type %d", from->type);
|
||||
elog(ERROR, "unrecognized node type: %d",
|
||||
(int) from->type);
|
||||
break;
|
||||
}
|
||||
return newnode;
|
||||
@@ -2966,8 +2968,7 @@ copyObject(void *from)
|
||||
break;
|
||||
|
||||
default:
|
||||
elog(ERROR, "copyObject: don't know how to copy node type %d",
|
||||
nodeTag(from));
|
||||
elog(ERROR, "unrecognized node type: %d", (int) nodeTag(from));
|
||||
retval = from; /* keep compiler quiet */
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user