fix: increase the maximum value of oid to avoid the bug of not being able to create hypo-index by too large oid
This commit is contained in:
@ -1285,7 +1285,7 @@ Datum hypopg_reset_index(PG_FUNCTION_ARGS)
|
||||
*/
|
||||
static void hypo_set_indexname(hypoIndex *entry, const char *indexname)
|
||||
{
|
||||
char oid[12] = {0}; /* store <oid>, oid shouldn't be more than 9999999999 */
|
||||
char oid[16] = {0}; /* store <oid>, oid shouldn't be more than 99999999999999 */
|
||||
int totalsize;
|
||||
errno_t rc = EOK;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user