mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Avoid gratuitous variation in spelling of same error message.
This commit is contained in:
parent
980acc8329
commit
1a7c6ee8c6
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.73 2002/12/30 02:18:29 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.74 2003/01/21 19:44:26 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -3623,7 +3623,7 @@ path_add(PG_FUNCTION_ARGS)
|
||||
/* Check for integer overflow */
|
||||
if (base_size / sizeof(p1->p[0]) != (p1->npts + p2->npts) ||
|
||||
size <= base_size)
|
||||
elog(ERROR, "too many points requested.");
|
||||
elog(ERROR, "Too many points requested");
|
||||
|
||||
result = (PATH *) palloc(size);
|
||||
|
||||
@ -4449,7 +4449,7 @@ circle_poly(PG_FUNCTION_ARGS)
|
||||
|
||||
/* Check for integer overflow */
|
||||
if (base_size / npts != sizeof(poly->p[0]) || size <= base_size)
|
||||
elog(ERROR, "too many points requested");
|
||||
elog(ERROR, "Too many points requested");
|
||||
|
||||
poly = (POLYGON *) palloc0(size); /* zero any holes */
|
||||
poly->size = size;
|
||||
|
Loading…
Reference in New Issue
Block a user