mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
pgindent run before PG 9.1 beta 1.
This commit is contained in:
@ -72,7 +72,7 @@ typedef struct ArrayIteratorData
|
||||
/* current position information, updated on each iteration */
|
||||
char *data_ptr; /* our current position in the array */
|
||||
int current_item; /* the item # we're at in the array */
|
||||
} ArrayIteratorData;
|
||||
} ArrayIteratorData;
|
||||
|
||||
static bool array_isspace(char ch);
|
||||
static int ArrayCount(const char *str, int *dim, char typdelim);
|
||||
@ -1268,7 +1268,8 @@ array_recv(PG_FUNCTION_ARGS)
|
||||
*/
|
||||
if (dim[i] != 0)
|
||||
{
|
||||
int ub = lBound[i] + dim[i] - 1;
|
||||
int ub = lBound[i] + dim[i] - 1;
|
||||
|
||||
if (lBound[i] > ub)
|
||||
ereport(ERROR,
|
||||
(errcode(ERRCODE_NUMERIC_VALUE_OUT_OF_RANGE),
|
||||
|
Reference in New Issue
Block a user