Re: [GENERAL] Retrieving a field from the NEW record

2005-01-19 Thread Michael Fuhr
On Wed, Jan 19, 2005 at 09:26:11AM -0500, Eric E wrote: > I belive I came across a message that indicated that you could do > such a thing in TCL. Do you know if this is true? Can TCL in 7.4.2 > get a field from a rowtype varaible like this? See the PL/Tcl trigger documentation -- it has an exa

Re: [GENERAL] Retrieving a field from the NEW record

2005-01-19 Thread Eric E
Howdy Michael, Thanks for the help. I 'm presently using 8.0-beta2 on Windows. I will upgrade that to 8.0 release today. However, my production server is 7.4.2 (on Linux), and I'm somewhat reticent to migrate to 8.0 because it is still pretty new. I belive I came across a message that ind

Re: [GENERAL] Retrieving a field from the NEW record

2005-01-18 Thread Michael Fuhr
On Tue, Jan 18, 2005 at 04:21:51PM -0500, Eric E wrote: >I'm tearing my hair out trying to solve the following problem. I > want to be able to retrieve the value of the primary key in a trigger > function. I have tried using PL/PGSQL and PL/PERL, but a PL/PERL > trigger function crashes t