1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Fix a few missed NOIND usages.

This commit is contained in:
Tom Lane
2001-06-09 02:19:07 +00:00
parent 0acd843c05
commit 7c106621de
7 changed files with 6 additions and 22 deletions

View File

@@ -61,9 +61,6 @@ elog_elog(level, message)
elog(level, message);
int
elog_NOIND()
int
elog_DEBUG()

View File

@@ -22,12 +22,6 @@ elog_ERROR(void)
return ERROR;
}
int
elog_NOIND(void)
{
return NOIND;
}
int
elog_NOTICE(void)
{

View File

@@ -5,7 +5,4 @@ int
int
elog_ERROR(void);
int
elog_NOIND(void);
int elog_NOTICE(void);

View File

@@ -33,7 +33,7 @@
* ENHANCEMENTS, OR MODIFICATIONS.
*
* 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)
*/
"require Safe; SPI::bootstrap();"
"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] }]); }"
};
@@ -1192,8 +1192,6 @@ plperl_elog(ClientData cdata, Tcl_Interp *interp,
level = FATAL;
else if (strcmp(argv[1], "DEBUG") == 0)
level = DEBUG;
else if (strcmp(argv[1], "NOIND") == 0)
level = NOIND;
else
{
Tcl_AppendResult(interp, "Unknown elog level '", argv[1],