|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.232 2009/02/05 15:25:49 momjian Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.233 2009/02/17 12:51:59 petere Exp $ |
12 | 12 | * |
13 | 13 | *------------------------------------------------------------------------- |
14 | 14 | */ |
@@ -387,8 +387,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo) |
387 | 387 | caseTYPEFUNC_COMPOSITE: |
388 | 388 | /* got the expected result rowtype, now check it */ |
389 | 389 | validate_tupdesc_compat(tupdesc,estate.rettupdesc, |
390 | | -gettext_noop("returned record type does " |
391 | | -"not match expected record type")); |
| 390 | +"returned record type does not match expected record type"); |
392 | 391 | break; |
393 | 392 | caseTYPEFUNC_RECORD: |
394 | 393 |
|
@@ -707,8 +706,7 @@ plpgsql_exec_trigger(PLpgSQL_function *func, |
707 | 706 | { |
708 | 707 | validate_tupdesc_compat(trigdata->tg_relation->rd_att, |
709 | 708 | estate.rettupdesc, |
710 | | -gettext_noop("returned tuple structure does " |
711 | | -"not match table of trigger event")); |
| 709 | +"returned tuple structure does not match table of trigger event"); |
712 | 710 | /* Copy tuple to upper executor memory */ |
713 | 711 | rettup=SPI_copytuple((HeapTuple)DatumGetPointer(estate.retval)); |
714 | 712 | } |
@@ -2201,8 +2199,7 @@ exec_stmt_return_next(PLpgSQL_execstate *estate, |
2201 | 2199 | errdetail("The tuple structure of a not-yet-assigned" |
2202 | 2200 | " record is indeterminate."))); |
2203 | 2201 | validate_tupdesc_compat(tupdesc,rec->tupdesc, |
2204 | | -gettext_noop("wrong record type supplied " |
2205 | | -"in RETURN NEXT")); |
| 2202 | +"wrong record type supplied in RETURN NEXT"); |
2206 | 2203 | tuple=rec->tup; |
2207 | 2204 | } |
2208 | 2205 | break; |
@@ -2310,8 +2307,7 @@ exec_stmt_return_query(PLpgSQL_execstate *estate, |
2310 | 2307 | } |
2311 | 2308 |
|
2312 | 2309 | validate_tupdesc_compat(estate->rettupdesc,portal->tupDesc, |
2313 | | -gettext_noop("structure of query does not match " |
2314 | | -"function result type")); |
| 2310 | +"structure of query does not match function result type"); |
2315 | 2311 |
|
2316 | 2312 | while (true) |
2317 | 2313 | { |
|