Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 8F0EC632186; Fri, 30 Jan 2009 08:43:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 57381-05; Fri, 30 Jan 2009 08:43:40 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f21.google.com (mail-ew0-f21.google.com [209.85.219.21]) by mail.postgresql.org (Postfix) with ESMTP id CD6BA6324F5; Fri, 30 Jan 2009 08:43:38 -0400 (AST) Received: by ewy14 with SMTP id 14so953365ewy.19 for ; Fri, 30 Jan 2009 04:43:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:cc:references:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:message-id; bh=wL7IE4Uu6rFZUUaiCBQQ1qjTQ4Pha0U7tFLxlWzXBhY=; b=qaFyc07Ud8fpLbwMkoIKKKBl99Sh5INDVwd4d/0P63d4NzOK9wFDEwvYqnli3UiPcj 06vyqbIUtNjY5BhR1qXdEgoGr76dhZH9D3CBEtH7uBlMuLLHUqmafXim8oYg0dkYyt+T HeIqdVTLBj0kY4Nlt/8FVFzTZZx2inXBdWmVE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding :content-disposition:message-id; b=jPWzMGqcLwKkmk38t0pLOmktAef59OGc7voJl5i5EPpmARlKjPFAL0kQZz48Z7GCNp l6qztjZHktmPj8e2oHut4r44nfPG0esOm+vRnrDz1TfAITxGD64ZAHuUZAYSJ51lGJUW OjBm2D4X8OG2aS9XP2oIV6gRF3YpG8FqzYOFw= Received: by 10.103.90.17 with SMTP id s17mr552327mul.93.1233319416059; Fri, 30 Jan 2009 04:43:36 -0800 (PST) Received: from g1s.local ([151.67.147.13]) by mx.google.com with ESMTPS id s11sm912685mue.12.2009.01.30.04.43.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 30 Jan 2009 04:43:35 -0800 (PST) From: Reg Me Please To: Sean Davis Subject: Re: [INTERFACES] PGSQL and Javascript Date: Fri, 30 Jan 2009 13:43:39 +0100 User-Agent: KMail/1.9.10 Cc: Allan Kamau , pgsql-general@postgresql.org, pgsql-interfaces@postgresql.org References: <200901301240.37112.regmeplease@gmail.com> <200901301309.47273.regmeplease@gmail.com> <264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com> In-Reply-To: <264855a00901300424v789e00a6gc59ba5dd90c33c24@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200901301343.39689.regmeplease@gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200901/1084 X-Sequence-Number: 143169 I already have a JS interpreter (spidermonkey) but there is no PGSQL=20 interfacing API! This'd be why I'm asking. On Friday 30 January 2009 13:24:59 Sean Davis wrote: > On Fri, Jan 30, 2009 at 7:09 AM, Reg Me Please wro= te: > > I'd like to write part of the application in Javascript, server side, n= ot > > in > > the web page. > > I missed your point. Do a google search for javascript interpreters in t= he > language of your choice. For example, there is Rhino for java. > > Sean > > > On Friday 30 January 2009 12:53:05 Allan Kamau wrote: > > > May be Javascript + JDBC not sure. > > > > > > But the question is why would you want to do so? > > > Javascript can be read easily by the user having the javascript > > > running on their browser. JDBC or any other database connecting client > > > will want to some how authenticate the user in most cases the > > > username, password and maybe remote IP is used. This mean that your > > > javascript will probably contain username and password in order to use > > > JDBC to connect to the DB, is this favourable? > > > > > > Allan. > > > > > > On Fri, Jan 30, 2009 at 1:40 PM, 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++. > > > > > > > > -- > > > > Fahrbahn ist ein graues Band > > > > weisse Streifen, gr=C3=BCner Rand > > > > > > > > -- > > > > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > > > > To make changes to your subscription: > > > > http://www.postgresql.org/mailpref/pgsql-general > > > > -- > > Fahrbahn ist ein graues Band > > weisse Streifen, gr=C3=BCner Rand > > > > -- > > Sent via pgsql-interfaces mailing list (pgsql-interfaces@postgresql.org) > > To make changes to your subscription: > > http://www.postgresql.org/mailpref/pgsql-interfaces =2D-=20 =46ahrbahn ist ein graues Band weisse Streifen, gr=C3=BCner Rand