Passing an argument to a trigger function using tg_argv - Mailing list pgsql-novice

From Simon Connah
Subject Passing an argument to a trigger function using tg_argv
Date
Msg-id FpX5rH6CRaxzNBpRr9jFl-gcPcsy0eKysEF8VhN44dQ73HWlQA0HlZzjt5tYztdLCMeU18pEutQ8Y23kOw-D9TG9JoI9Lk2MnYvLyS5n22U=@protonmail.com
Whole thread Raw
Responses Re: Passing an argument to a trigger function using tg_argv
List pgsql-novice
Hi,

I'm having an issue which is saying I can't pass the variable to the trigger function but I'm not sure what I am doing
wrong.You can see my source code here: 

https://gist.github.com/simonconnah/9ddd257198d799230a1689aa855d08d5

I really don't have a clue about what I am doing wrong.

Simon.


Attachment

pgsql-novice by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: shared buffers
Next
From: Simon Connah
Date:
Subject: Re: Passing an argument to a trigger function using tg_argv