triggers and TriggerData - Mailing list pgsql-general

From gustavo halperin
Subject triggers and TriggerData
Date
Msg-id 45B3FDC4.9000100@gmail.com
Whole thread Raw
Responses Re: triggers and TriggerData  (Alan Hodgson <ahodgson@simkin.ca>)
List pgsql-general
First, thank you for your answers about my problem with the function
'CREATE TRIGGER',
I have another question about triggers, how can I pass arguments ?? I
read about some struct TriggerData *CurrentTriggerData, but I didn't
found any explanation or example about how to use it in postgres SQL.
 My problem is that  for any INSERT row in table 'B' I need to pass to
the function trigger two values  of this row.  Do you know how to do so
or where are examples of how to do it ??


  Thank you again,
          Gustavo

--
                           ||\             // \
                           | \\           //   |
I'm thinking.               \  \\  l\\l_ //    |
    _              _         |  \\/ `/  `.|    |
  /~\\   \        //~\       | Y |   |   ||  Y |
  |  \\   \      //  |       |  \|   |   |\ /  |
  [   ||        ||   ]       \   |  o|o  | >  /
 ] Y  ||        ||  Y [       \___\_--_ /_/__/
 |  \_|l,------.l|_/  |       /.-\(____) /--.\
 |   >'          `<   |       `--(______)----'
 \  (/~`--____--'~\)  /           U// U / \
  `-_>-__________-<_-'            / \  / /|
      /(_#(__)#_)\               ( .) / / ]
      \___/__\___/                `.`' /   [
       /__`--'__\                  |`-'    |
    /\(__,>-~~ __)                 |       |__
 /\//\\(  `--~~ )                 _l       |--:.
 '\/  <^\      /^>               |  `   (  <   \\
      _\ >-__-< /_             ,-\  ,-~~->. \   `:.___,/
     (___\    /___)           (____/    (____)    `---'


pgsql-general by date:

Previous
From: Chris
Date:
Subject: Re: help me to solve the problem
Next
From: Alan Hodgson
Date:
Subject: Re: triggers and TriggerData