javascript and postgres

From: 野村 <nomura(at)ir-alt(dot)co(dot)jp>
To: pgsql-general(at)postgresql(dot)org
Subject: javascript and postgres
Date: 2009-02-24 04:55:48
Message-ID: 20090224134031.F6A7.NOMURA@ir-alt.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello all.

My javascript connects with postgres using php.
php responds with XML for my select request.
I wonder is there any way to access to postgres directly?
I mean like this.

new PGSQL.Request (
'postgres.server.com'
,{
,port: 5432
,sql : 'select * from bra'
,asynchronous : true
,parameters : ''
,onComplete : fetch_function
,onLoaded : function(){
$( 'status' ).innerHTML="Loading...";
}
,onFailure : function(){
$( 'status' ).innerHTML= "error";
}
}
);

regards

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Scott Marlowe 2009-02-24 05:22:46 Re: surprising results with random()
Previous Message Eus 2009-02-24 04:23:17 PostgreSQL fast query is too slow as function