Remove overzealous array element type assertion.
commiteff6a757fde3ba072a03dd06edc2eafeac5e602d
authorPeter Geoghegan <pg@bowt.ie>
Mon, 22 Apr 2024 02:51:56 +0000 (21 22:51 -0400)
committerPeter Geoghegan <pg@bowt.ie>
Mon, 22 Apr 2024 02:51:56 +0000 (21 22:51 -0400)
tree3179081412db20d096cb3005e742ac768c19d755
parent8c239ee15a4b093523ebe30bdc9af186aaccebfd
Remove overzealous array element type assertion.

This led to spurious assertion failures in certain scenarios involving
pseudo types.

Oversight in commit 5bf748b8, which enhanced nbtree ScalarArrayOp
execution.

Reported-By: Richard Guo <guofenglinux@gmail.com>
Discussion: https://postgr.es/m/CAMbWs48f5rDOwxaT76Zd40m7n9iGZQcjEk7vG_5p3YWNh6oPfA@mail.gmail.com
src/backend/access/nbtree/nbtutils.c