Application written in pure pgsql, good idea? - Mailing list pgsql-general

From inspector morse
Subject Application written in pure pgsql, good idea?
Date
Msg-id CAHYn==4QsGTofh-PZ-j9gnJLDOHCL4seS=ZMW=wK1Y+xSTu+ZQ@mail.gmail.com
Whole thread Raw
Responses Re: Application written in pure pgsql, good idea?  (Jan de Visser <jan@de-visser.net>)
Re: Application written in pure pgsql, good idea?  (BladeOfLight16 <bladeoflight16@gmail.com>)
Re: Application written in pure pgsql, good idea?  (Alberto Cabello Sánchez <alberto@unex.es>)
Re: Application written in pure pgsql, good idea?  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-general

Is it a good idea to write a simple application (consisting of just data entry interfaces) in pure pgsql?

Basically, we would have each page has a stored function in postgresql that is called by php+apache (the http get/post values would be passed into postgrel as an array).

The pgpsql would render HTML and return back to the front end for display.

Sample:
create function render_user_login_page(out v_html varchar)
returns varchar
as
$$
begin
     v_html := v_html || '<table><tr><td>User ID:</td><td><input type="text" /></td></tr></table>';
end;
$$


Would there be any performance issues with doing this?

pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: 'missing' data on replicate
Next
From: Jan de Visser
Date:
Subject: Re: Application written in pure pgsql, good idea?