Search Postgresql Archives

triggers and TriggerData

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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       |--:.
'\/  <^\      /^>               |  `   (  <   \\
     _\ >-__-< /_             ,-\  ,-~~->. \   `:.___,/
    (___\    /___)           (____/    (____)    `---'



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux