Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Postgres/src/pl/tcl/expected/   (Postgres Database Version 18.4©)  Datei vom 11.4.2026 mit Größe 942 B image not shown  

Quelle  pltcl_start_proc.out   Sprache: unbekannt

 
Spracherkennung für: .out vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

--
-- Test start_proc execution
--
SET pltcl.start_proc = 'no_such_function';
select tcl_int4add(12);
ERROR:  function no_such_function() does not exist
CONTEXT:  processing pltcl.start_proc parameter
select tcl_int4add(12);
ERROR:  function no_such_function() does not exist
CONTEXT:  processing pltcl.start_proc parameter
create function tcl_initialize() returns void as
$$ elog NOTICE "in tcl_initialize" $$ language pltcl SECURITY DEFINER;
SET pltcl.start_proc = 'public.tcl_initialize';
select tcl_int4add(12);  -- fail
ERROR:  function "public.tcl_initialize" must not be SECURITY DEFINER
CONTEXT:  processing pltcl.start_proc parameter
create or replace function tcl_initialize() returns void as
$$ elog NOTICE "in tcl_initialize" $$ language pltcl;
select tcl_int4add(12);
NOTICE:  in tcl_initialize
 tcl_int4add 
-------------
           3
(1 row)

select tcl_int4add(12);
 tcl_int4add 
-------------
           3
(1 row)


[Dauer der Verarbeitung: 0.17 Sekunden, vorverarbeitet 2026-08-07]