Commit 7c106621 authored by Tom Lane's avatar Tom Lane

Fix a few missed NOIND usages.

parent 0acd843c
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/pltcl.sgml,v 2.10 2001/05/12 22:51:35 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/pltcl.sgml,v 2.11 2001/06/09 02:19:07 tgl Exp $
--> -->
<chapter id="pltcl"> <chapter id="pltcl">
...@@ -348,7 +348,7 @@ CREATE TRIGGER trig_mytab_modcount BEFORE INSERT OR UPDATE ON mytab ...@@ -348,7 +348,7 @@ CREATE TRIGGER trig_mytab_modcount BEFORE INSERT OR UPDATE ON mytab
<listitem> <listitem>
<para> <para>
Fire a log message. Possible levels are NOTICE, ERROR, Fire a log message. Possible levels are NOTICE, ERROR,
FATAL, DEBUG and NOIND FATAL, and DEBUG
as for the <function>elog</function> C function. as for the <function>elog</function> C function.
</para> </para>
</listitem> </listitem>
......
...@@ -61,9 +61,6 @@ elog_elog(level, message) ...@@ -61,9 +61,6 @@ elog_elog(level, message)
elog(level, message); elog(level, message);
int
elog_NOIND()
int int
elog_DEBUG() elog_DEBUG()
......
...@@ -22,12 +22,6 @@ elog_ERROR(void) ...@@ -22,12 +22,6 @@ elog_ERROR(void)
return ERROR; return ERROR;
} }
int
elog_NOIND(void)
{
return NOIND;
}
int int
elog_NOTICE(void) elog_NOTICE(void)
{ {
......
...@@ -5,7 +5,4 @@ int ...@@ -5,7 +5,4 @@ int
int int
elog_ERROR(void); elog_ERROR(void);
int
elog_NOIND(void);
int elog_NOTICE(void); int elog_NOTICE(void);
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/plperl/plperl.c,v 1.20 2001/06/01 18:17:44 tgl Exp $ * $Header: /cvsroot/pgsql/src/pl/plperl/plperl.c,v 1.21 2001/06/09 02:19:07 tgl Exp $
* *
**********************************************************************/ **********************************************************************/
...@@ -252,7 +252,7 @@ plperl_init_safe_interp(void) ...@@ -252,7 +252,7 @@ plperl_init_safe_interp(void)
*/ */
"require Safe; SPI::bootstrap();" "require Safe; SPI::bootstrap();"
"sub ::mksafefunc { my $x = new Safe; $x->permit_only(':default');$x->permit(':base_math');" "sub ::mksafefunc { my $x = new Safe; $x->permit_only(':default');$x->permit(':base_math');"
"$x->share(qw[&elog &DEBUG &NOTICE &NOIND &ERROR]);" "$x->share(qw[&elog &DEBUG &NOTICE &ERROR]);"
" return $x->reval(qq[sub { $_[0] }]); }" " return $x->reval(qq[sub { $_[0] }]); }"
}; };
...@@ -1192,8 +1192,6 @@ plperl_elog(ClientData cdata, Tcl_Interp *interp, ...@@ -1192,8 +1192,6 @@ plperl_elog(ClientData cdata, Tcl_Interp *interp,
level = FATAL; level = FATAL;
else if (strcmp(argv[1], "DEBUG") == 0) else if (strcmp(argv[1], "DEBUG") == 0)
level = DEBUG; level = DEBUG;
else if (strcmp(argv[1], "NOIND") == 0)
level = NOIND;
else else
{ {
Tcl_AppendResult(interp, "Unknown elog level '", argv[1], Tcl_AppendResult(interp, "Unknown elog level '", argv[1],
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* ENHANCEMENTS, OR MODIFICATIONS. * ENHANCEMENTS, OR MODIFICATIONS.
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.36 2001/06/01 18:17:44 tgl Exp $ * $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.37 2001/06/09 02:19:07 tgl Exp $
* *
**********************************************************************/ **********************************************************************/
...@@ -1295,8 +1295,6 @@ pltcl_elog(ClientData cdata, Tcl_Interp *interp, ...@@ -1295,8 +1295,6 @@ pltcl_elog(ClientData cdata, Tcl_Interp *interp,
level = FATAL; level = FATAL;
else if (strcmp(argv[1], "DEBUG") == 0) else if (strcmp(argv[1], "DEBUG") == 0)
level = DEBUG; level = DEBUG;
else if (strcmp(argv[1], "NOIND") == 0)
level = NOIND;
else else
{ {
Tcl_AppendResult(interp, "Unknown elog level '", argv[1], Tcl_AppendResult(interp, "Unknown elog level '", argv[1],
......
...@@ -268,7 +268,7 @@ the body of a PL/Tcl procedure: ...@@ -268,7 +268,7 @@ the body of a PL/Tcl procedure:
elog level msg elog level msg
.br .br
Fire a log message. Possible levels are NOTICE, WARN, ERROR, Fire a log message. Possible levels are NOTICE, WARN, ERROR,
FATAL, DEBUG and NOIND FATAL, and DEBUG
like for the elog() C function. like for the elog() C function.
.ti -4 .ti -4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment