Skip to content
Snippets Groups Projects
Commit 7a6676d9 authored by Andrew Dunstan's avatar Andrew Dunstan
Browse files

 fix typo
parent 3a9ae3d2
No related branches found
No related tags found
No related merge requests found
...@@ -403,7 +403,7 @@ begin ...@@ -403,7 +403,7 @@ begin
relid := TG_relid::regclass; relid := TG_relid::regclass;
-- plpgsql can't discover it's trigger data in a hash like perl and python -- plpgsql can't discover its trigger data in a hash like perl and python
-- can, or by a sort of reflection like tcl can, -- can, or by a sort of reflection like tcl can,
-- so we have to hard code the names. -- so we have to hard code the names.
raise NOTICE 'TG_NAME: %', TG_name; raise NOTICE 'TG_NAME: %', TG_name;
...@@ -433,6 +433,7 @@ begin ...@@ -433,6 +433,7 @@ begin
if TG_OP != 'DELETE' then if TG_OP != 'DELETE' then
raise NOTICE 'NEW: %', NEW; raise NOTICE 'NEW: %', NEW;
end if; end if;
if TG_OP = 'DELETE' then if TG_OP = 'DELETE' then
return OLD; return OLD;
else else
......
...@@ -314,7 +314,7 @@ begin ...@@ -314,7 +314,7 @@ begin
relid := TG_relid::regclass; relid := TG_relid::regclass;
-- plpgsql can't discover it's trigger data in a hash like perl and python -- plpgsql can't discover its trigger data in a hash like perl and python
-- can, or by a sort of reflection like tcl can, -- can, or by a sort of reflection like tcl can,
-- so we have to hard code the names. -- so we have to hard code the names.
raise NOTICE 'TG_NAME: %', TG_name; raise NOTICE 'TG_NAME: %', TG_name;
...@@ -344,6 +344,7 @@ begin ...@@ -344,6 +344,7 @@ begin
if TG_OP != 'DELETE' then if TG_OP != 'DELETE' then
raise NOTICE 'NEW: %', NEW; raise NOTICE 'NEW: %', NEW;
end if; end if;
if TG_OP = 'DELETE' then if TG_OP = 'DELETE' then
return OLD; return OLD;
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment