pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Leif B. Kristensen <leif@solumslekt.org>
To: pgsql-general@postgresql.org
Subject: Re: PGSQL and Javascript
Date: Fri, 30 Jan 2009 13:17:16 +0100
Message-ID: <200901301317.16435.leif@solumslekt.org> (raw)
In-Reply-To: <200901301240.37112.regmeplease@gmail.com>
References: <200901301240.37112.regmeplease@gmail.com>

On Friday 30. January 2009, Reg Me Please wrote:
>Hello all.
>
>Is there a way to directly access PGSQL from a Javascript application?
>With no application server intervention, I mean.
>Just like libq allows access from C/C++.

The usual way to handle it is to let the JavaScript code call a 
server-side script through an XMLHttpRequest() object.

>Fahrbahn ist ein graues Band
>weisse Streifen, grĂ¼ner Rand

I like your sig.
-- 
Leif Biberg Kristensen | Registered Linux User #338009
Me And My Database: http://solumslekt.org/blog/



view thread (10+ messages)  latest in thread

Message-ID: <200901301317.16435.leif@solumslekt.org>
Permalink:  ../200901301317.16435.leif@solumslekt.org/
Also on:    postgresql.org/message-id/200901301317.16435.leif@solumslekt.org

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-interfaces@postgresql.org
  Cc: leif@solumslekt.org, pgsql-general@postgresql.org
  Subject: Re: PGSQL and Javascript
  In-Reply-To: <200901301317.16435.leif@solumslekt.org>

* 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