triggers and TriggerData

Поиск
Список
Период
Сортировка
От gustavo halperin
Тема triggers and TriggerData
Дата
Msg-id 45B3FDC4.9000100@gmail.com
обсуждение исходный текст
Ответы Re: triggers and TriggerData  (Alan Hodgson <ahodgson@simkin.ca>)
Список 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 по дате отправления:

Предыдущее
От: Chris
Дата:
Сообщение: Re: help me to solve the problem
Следующее
От: Alan Hodgson
Дата:
Сообщение: Re: triggers and TriggerData