javascript and postgres

Поиск
Список
Период
Сортировка
От 野村
Тема javascript and postgres
Дата
Msg-id 20090224134031.F6A7.NOMURA@ir-alt.co.jp
обсуждение исходный текст
Ответы Re: javascript and postgres  (Craig Ringer <craig@postnewspapers.com.au>)
Re: javascript and postgres  (John R Pierce <pierce@hogranch.com>)
Список 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


В списке pgsql-general по дате отправления:

Предыдущее
От: Eus
Дата:
Сообщение: PostgreSQL fast query is too slow as function
Следующее
От: Scott Marlowe
Дата:
Сообщение: Re: surprising results with random()