Re: C trigger using system(3) to execute a php script

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Douglas McNaught <doug(at)mcnaught(dot)org>
Cc: David Rio Deiros <driodeiros(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: C trigger using system(3) to execute a php script
Date: 2006-02-16 21:05:06
Message-ID: 43F4E902.1060801@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Douglas McNaught wrote:
> David Rio Deiros <driodeiros(at)gmail(dot)com> writes:
>
>> The code was already in php... plus I am including some other php
>> files so I would have to parse that files from C if I write all in C. I
>> basically didn't want to do extra work.
>
> There's a PL/PHP out there, but I don't know if it's sufficiently
> advanced to be able to write triggers in it...

Yes quite... you can write triggers, srf functions, polymorphic types,
all kinds of stuff.

Review:

http://projects.commandprompt.com/projects/public/plphp

Sincerely,

Joshua D. Drake

>
> -Doug
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: Don't 'kill -9' the postmaster

--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, plPerlNG - http://www.commandprompt.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Emi Lu 2006-02-16 21:24:01 Re: A question about Vacuum analyze
Previous Message Devrim GUNDUZ 2006-02-16 20:36:41 Re: Minor Releases 7.3 thru 8.1 Available to Fix Security