Thread: Triggers: options besides compiled code?

Triggers: options besides compiled code?

From
Roland Roberts
Date:
I started to look at the triggers documentation and was immediately
dismayed to discover that I would have compile code to create a
trigger.  I have been using the old "rules" mechanism to automatically
put a sequence number into a tuple when inserting new rows.  Are my
choices limited to just (1) compiled code, and (2) the old rules
mechanism?

roland
--
Roland B. Roberts
roberts@panix.com

Re: [GENERAL] Triggers: options besides compiled code?

From
Brian
Date:
On 9 Jul 1998, Roland Roberts wrote:

> I started to look at the triggers documentation and was immediately
> dismayed to discover that I would have compile code to create a
> trigger.  I have been using the old "rules" mechanism to automatically
> put a sequence number into a tuple when inserting new rows.  Are my
> choices limited to just (1) compiled code, and (2) the old rules
> mechanism?

if you insert a new row, isn't the sequence automatically inserted?



>
> roland
> --
> Roland B. Roberts
> roberts@panix.com
>
>

/-------------------------- signal@shreve.net -----------------------------\
| Brian Feeny                | USR TC Hubs | ShreveNet Inc. (318)222-2638  |
| Network Administrator      | Perl, Linux | Web hosting, online stores,   |
| ShreveNet Inc.             |  USR Pilot  | Dial-Up 14.4-56k, ISDN & LANs |
| 89 CRX DX w/MPFI, lots of  |-=*:Quake:*=-| http://www.shreve.net/        |
| mods/Homepage coming soon  |LordSignal/SN| Quake server: 208.206.76.47   |
\-------------------------- 318-222-2638 x109 -----------------------------/