pgsql: Remove arbitrary FUNC_MAX_ARGS limit in int2vectorin and oidvect

2023-01-15 Thread Tom Lane
Remove arbitrary FUNC_MAX_ARGS limit in int2vectorin and oidvectorin. int2vectorin limited the number of array elements it'd take to FUNC_MAX_ARGS, which is probably fine for the traditional use-cases. But now that pg_publication_rel.prattrs is an int2vector, it's not fine at all: it's easy to con

pgsql: Remove arbitrary FUNC_MAX_ARGS limit in int2vectorin and oidvect

2023-01-15 Thread Tom Lane
Remove arbitrary FUNC_MAX_ARGS limit in int2vectorin and oidvectorin. int2vectorin limited the number of array elements it'd take to FUNC_MAX_ARGS, which is probably fine for the traditional use-cases. But now that pg_publication_rel.prattrs is an int2vector, it's not fine at all: it's easy to con