diff --git a/src/common/pl/plpgsql/src/gram.y b/src/common/pl/plpgsql/src/gram.y index d7fbd1755..f87c05d55 100755 --- a/src/common/pl/plpgsql/src/gram.y +++ b/src/common/pl/plpgsql/src/gram.y @@ -4047,7 +4047,7 @@ stmt_execsql : K_ALTER } | T_ARRAY_EXTEND { - check_table_index(yylval.wdatum.datum, "trim"); + check_table_index(yylval.wdatum.datum, "extend"); int dno = yylval.wdatum.dno; StringInfoData sqlBuf;