pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Uwe Schroeder <uwe@oss4u.com>
To: pgsql-admin@postgresql.org
Subject: Re: Using Postgresql as application server
Date: Sun, 14 Aug 2011 01:02:51 -0700
Message-ID: <201108140102.51745.uwe@oss4u.com> (raw)
In-Reply-To: <4E46C725.1060306@bestmx.ru>
References: <CAN2Y=uPjF14F5A9JXj02_vaPw4TMR0WGQid_w80xt4sC8o4qGg@mail.gmail.com>
	<CAN2Y=uM0UoHFDwcUM1+YZ5ZxaQBNZQnpZ=k4gz20NrqV8BJx+g@mail.gmail.com>
	<4E46C725.1060306@bestmx.ru>



> > can u please give me it's link.
> > I found ngx_postgres module.
> > 
> >>     there is nginx_htttp_postgresql_module
> >>     exactly to connect webserver directly to postgresql
> >>     and to OUTPUT query result to a browser.
> 
> http://wiki.nginx.org/3rdPartyModules
> http://labs.frickle.com/nginx_ngx_postgres/

Which is still a webserver on top of postgresql. Sure, you're coding more in 
postgresql, but by the end of the day, a database is a database and a 
webserver is a webserver. Sure, you can use a kitchen knife to chop firewood, 
but wouldn't a tool made for the job be better at it?
IMHO you trade flexibility and security with "simplification" Personally I'd 
never ever hook my database directly to the internet - for me that's like 
writing your PIN on your banking card and leave it next to the ATM :-)





view thread (88+ messages)  latest in thread

Message-ID: <201108140102.51745.uwe@oss4u.com>
Permalink:  ../201108140102.51745.uwe@oss4u.com/
Also on:    postgresql.org/message-id/201108140102.51745.uwe@oss4u.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: uwe@oss4u.com
  Subject: Re: Using Postgresql as application server
  In-Reply-To: <201108140102.51745.uwe@oss4u.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox