Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 4946D632C32; Fri, 30 Jan 2009 07:53:11 -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 03467-08; Fri, 30 Jan 2009 07:53:08 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mail.postgresql.org (Postfix) with ESMTP id EE142632A1B; Fri, 30 Jan 2009 07:53:07 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id c7so81193nfi.23 for ; Fri, 30 Jan 2009 03:53:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+ottyo728KCF6Z6t2FNUN6pWeMPOnZ/KNENKnk4GTfw=; b=MLgoLIgoJCZvPqTo+idivE/5iQBmi3kRU+EQriN1qsOa9iLykuFFNNtX1A/6i7IMH5 3sPQk7/emFeMGQkDP2Mpzgf3O9AAVU88HdO+6J/zmzKysxiKq56EDqjP4h3dhJMH9dqU hbMxf9kn5/OU6SksMQeKeux1IlNT6y7+epg4U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AgTXwvMAdexP9E1e/gk1P+WuYUce8tAzHlSjaJXsutNVPqYAgiqwR8Q/55APKYWZYe hRzSAyEarmbzumv6ECy4W54gP7E4q25LKXQpE7W/jJpqvvx6KWAfe8g8cfAU6z4IoKTw lvrtuvXXKpZFWXkv3SPVU5gPFXgZiesg7N4IE= MIME-Version: 1.0 Received: by 10.86.59.2 with SMTP id h2mr607468fga.73.1233316385371; Fri, 30 Jan 2009 03:53:05 -0800 (PST) In-Reply-To: <200901301240.37112.regmeplease@gmail.com> References: <200901301240.37112.regmeplease@gmail.com> Date: Fri, 30 Jan 2009 13:53:05 +0200 Message-ID: Subject: Re: PGSQL and Javascript From: Allan Kamau To: Reg Me Please Cc: pgsql-general@postgresql.org, pgsql-interfaces@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/1079 X-Sequence-Number: 143164 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 wrot= e: > 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=FCner Rand > > -- > Sent via pgsql-general mailing list (pgsql-general@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-general >