Re: cutting out the middleperl - Mailing list pgsql-general

From Merlin Moncure
Subject Re: cutting out the middleperl
Date
Msg-id b42b73150703291248s7477d9a3x3b2ac553eb5b803e@mail.gmail.com
Whole thread Raw
In response to Re: cutting out the middleperl  (Aidan Van Dyk <aidan@highrise.ca>)
List pgsql-general
On 3/27/07, Aidan Van Dyk <aidan@highrise.ca> wrote:
> Kev wrote:
>
> > Hi everyone,
> >
> > I'm still in the design phase of a project.  I was just wondering if
> > anyone has any thoughts or experience on the idea of cutting the P out
> > of the LAMP (or in my case, WAMP for now) stack.  What I mean is
> > having
> > everything encapsulated into sql (or plpgsql or plperl where needed)
> > functions stored in the pgsql server, and have Apache communicate with
> > pgsql via a tiny C program that pretty much just checks whether the
> > incoming function is on the allowed list and has the proper data
> > types,
> > then passes it straight in.  Any errors are logged as potential
> > security
> > breaches.
>
> Sounds something like mod_libpq:
>    http://asmith.id.au/mod_libpq.html

brilliant. highest possible marks!  i mean, wow! :-)

merlin

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Some encoding trouble via libpq
Next
From: Benjamin Arai
Date:
Subject: Re: COPY command details