Error arguments in pl_exec.c
От | Magnus Hagander |
---|---|
Тема | Error arguments in pl_exec.c |
Дата | |
Msg-id | 49257B22.6070005@hagander.net обсуждение исходный текст |
Ответы |
Re: Error arguments in pl_exec.c
Re: Error arguments in pl_exec.c |
Список | pgsql-hackers |
I get the following warnings in HEAD pl_exec.c: In function ‘exec_stmt_raise’: pl_exec.c:2538: warning: format not a string literal and no format arguments pl_exec.c:2538: warning: format not a string literal and no format arguments Attached patch seems right to me - objections? //Magnus Index: pl_exec.c =================================================================== RCS file: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v retrieving revision 1.224 diff -c -r1.224 pl_exec.c *** pl_exec.c 5 Nov 2008 00:07:54 -0000 1.224 --- pl_exec.c 20 Nov 2008 14:58:11 -0000 *************** *** 2538,2545 **** ereport(stmt->elog_level, (err_code ? errcode(err_code) : 0, errmsg_internal("%s", err_message), ! (err_detail != NULL) ? errdetail(err_detail) : 0, ! (err_hint != NULL) ? errhint(err_hint) : 0)); estate->err_text = NULL; /* un-suppress... */ --- 2538,2545 ---- ereport(stmt->elog_level, (err_code ? errcode(err_code) : 0, errmsg_internal("%s", err_message), ! (err_detail != NULL) ? errdetail("%s", err_detail) : 0, ! (err_hint != NULL) ? errhint("%s", err_hint) : 0)); estate->err_text = NULL; /* un-suppress... */
В списке pgsql-hackers по дате отправления: