Passing an argument to a trigger function using tg_argv

From: Simon Connah <simon(dot)n(dot)connah(at)protonmail(dot)com>
To: "pgsql-novice(at)lists(dot)postgresql(dot)org" <pgsql-novice(at)lists(dot)postgresql(dot)org>
Subject: Passing an argument to a trigger function using tg_argv
Date: 2021-03-31 09:55:26
Message-ID: FpX5rH6CRaxzNBpRr9jFl-gcPcsy0eKysEF8VhN44dQ73HWlQA0HlZzjt5tYztdLCMeU18pEutQ8Y23kOw-D9TG9JoI9Lk2MnYvLyS5n22U=@protonmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Simon Connah 2021-04-01 04:03:44 Re: Passing an argument to a trigger function using tg_argv
Previous Message Laurenz Albe 2021-03-30 11:14:55 Re: shared buffers