Обсуждение: gettext-related compile failure fix

Поиск
Список
Период
Сортировка

gettext-related compile failure fix

От
"Serguei Mokhov"
Дата:
Patch per my post to -admin
(http://archives.postgresql.org/pgsql-admin/2003-08/msg00266.php)

Index: src/pl_exec.c
===================================================================
RCS file: /projects/cvsroot/pgsql-server/src/pl/plpgsql/src/pl_exec.c,v
retrieving revision 1.90
diff -c -u -r1.90 pl_exec.c
cvs server: conflicting specifications of output style
--- src/pl_exec.c       4 Aug 2003 00:43:33 -0000       1.90
+++ src/pl_exec.c       27 Aug 2003 17:10:56 -0000
@@ -703,7 +703,7 @@
                 */
                errcontext("PL/pgSQL function \"%s\" %s",
                                   estate->err_func->fn_name,
-                                  gettext(estate->err_text));
+                                  estate->err_text);
        }
        else
                errcontext("PL/pgSQL function \"%s\"",

--
Serguei A. Mokhov

Re: gettext-related compile failure fix

От
Tom Lane
Дата:
"Serguei Mokhov" <mokhov@cs.concordia.ca> writes:
> -                                  gettext(estate->err_text));
> +                                  estate->err_text);

This patch will not be accepted.  Find out why you have a link failure
and fix that, rather than asking us to remove functionality.

            regards, tom lane