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

From: Brian <signal(at)shreve(dot)net>
To: Roland Roberts <roberts(at)panix(dot)com>
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Triggers: options besides compiled code?
Date: 1998-07-10 03:32:11
Message-ID: Pine.LNX.3.96.980709223032.9491F-100000@mercury.shreve.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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(at)panix(dot)com
>
>

/-------------------------- signal(at)shreve(dot)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 -----------------------------/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Maarten Boekhold 1998-07-10 07:51:34 Re: [GENERAL] Moving Databases
Previous Message Roland Roberts 1998-07-09 23:47:57 Triggers: options besides compiled code?