CATALOG_NAME := plpgsql
AVAIL_LANGUAGES := es
GETTEXT_FILES := pl_comp.c pl_exec.c pl_gram.c pl_funcs.c pl_handler.c pl_scan.c
-GETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint errcontext yyerror
+GETTEXT_TRIGGERS:= _ errmsg errdetail errdetail_log errhint errcontext validate_tupdesc_compat:3 yyerror
.PHONY: gettext-files
gettext-files: distprep
case TYPEFUNC_COMPOSITE:
/* got the expected result rowtype, now check it */
validate_tupdesc_compat(tupdesc, estate.rettupdesc,
- gettext_noop("returned record type does "
- "not match expected record type"));
+ "returned record type does not match expected record type");
break;
case TYPEFUNC_RECORD:
{
validate_tupdesc_compat(trigdata->tg_relation->rd_att,
estate.rettupdesc,
- gettext_noop("returned tuple structure does "
- "not match table of trigger event"));
+ "returned tuple structure does not match table of trigger event");
/* Copy tuple to upper executor memory */
rettup = SPI_copytuple((HeapTuple) DatumGetPointer(estate.retval));
}
errdetail("The tuple structure of a not-yet-assigned"
" record is indeterminate.")));
validate_tupdesc_compat(tupdesc, rec->tupdesc,
- gettext_noop("wrong record type supplied "
- "in RETURN NEXT"));
+ "wrong record type supplied in RETURN NEXT");
tuple = rec->tup;
}
break;
}
validate_tupdesc_compat(estate->rettupdesc, portal->tupDesc,
- gettext_noop("structure of query does not match "
- "function result type"));
+ "structure of query does not match function result type");
while (true)
{