mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Initial pgindent run for v12.
This is still using the 2.0 version of pg_bsd_indent. I thought it would be good to commit this separately, so as to document the differences between 2.0 and 2.1 behavior. Discussion: https://postgr.es/m/16296.1558103386@sss.pgh.pa.us
This commit is contained in:
@ -156,7 +156,7 @@ cube_a_f8_f8(PG_FUNCTION_ARGS)
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("can't extend cube"),
|
||||
errdetail("A cube cannot have more than %d dimensions.",
|
||||
CUBE_MAX_DIM)));
|
||||
CUBE_MAX_DIM)));
|
||||
|
||||
if (ARRNELEMS(ll) != dim)
|
||||
ereport(ERROR,
|
||||
@ -220,7 +220,7 @@ cube_a_f8(PG_FUNCTION_ARGS)
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("array is too long"),
|
||||
errdetail("A cube cannot have more than %d dimensions.",
|
||||
CUBE_MAX_DIM)));
|
||||
CUBE_MAX_DIM)));
|
||||
|
||||
dur = ARRPTR(ur);
|
||||
|
||||
@ -260,7 +260,7 @@ cube_subset(PG_FUNCTION_ARGS)
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("array is too long"),
|
||||
errdetail("A cube cannot have more than %d dimensions.",
|
||||
CUBE_MAX_DIM)));
|
||||
CUBE_MAX_DIM)));
|
||||
|
||||
size = IS_POINT(c) ? POINT_SIZE(dim) : CUBE_SIZE(dim);
|
||||
result = (NDBOX *) palloc0(size);
|
||||
@ -1780,7 +1780,7 @@ cube_c_f8(PG_FUNCTION_ARGS)
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("can't extend cube"),
|
||||
errdetail("A cube cannot have more than %d dimensions.",
|
||||
CUBE_MAX_DIM)));
|
||||
CUBE_MAX_DIM)));
|
||||
|
||||
if (IS_POINT(cube))
|
||||
{
|
||||
@ -1828,7 +1828,7 @@ cube_c_f8_f8(PG_FUNCTION_ARGS)
|
||||
(errcode(ERRCODE_PROGRAM_LIMIT_EXCEEDED),
|
||||
errmsg("can't extend cube"),
|
||||
errdetail("A cube cannot have more than %d dimensions.",
|
||||
CUBE_MAX_DIM)));
|
||||
CUBE_MAX_DIM)));
|
||||
|
||||
if (IS_POINT(cube) && (x1 == x2))
|
||||
{
|
||||
|
Reference in New Issue
Block a user