Received: from dub-img-8.compuserve.com (dub-img-8.compuserve.com [149.174.206.138]) by hub.org (8.9.1/8.9.1) with ESMTP id NAA14565 for ; Sun, 22 Nov 1998 13:04:02 -0500 (EST) (envelope-from SWagner17@compuserve.com) Received: (from root@localhost) by dub-img-8.compuserve.com (8.8.6/8.8.6/2.16) id NAA19713 for pgsql-interfaces@postgreSQL.org; Sun, 22 Nov 1998 13:03:30 -0500 (EST) Date: Sun, 22 Nov 1998 13:03:11 -0500 From: SWagner17 Subject: [INTERFACES] What is the right interface??? Sender: SWagner17 To: ifacesPsql Message-ID: <199811221303_MC2-6121-C8C2@compuserve.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by hub.org id NAA14566 >I'm new in Postgresql and I need to make a simple user interface >(input/query form). I don't know python, java, tk/tcl, OpenGL or perl, >altough I'm a fairly good C/C++/shell programmer. The easiest way to query your database is the following: create a file myQuery.sql: ## QUERY/SQL ## Usage: myQuery.sql "x.col1 = CONDITION" ## psql myDatabase -c "select x.col1, y.col2 from xTable x, yTable y where x.fkey = y.key AND $* order by x.col1" // eof-------------------- and make it executable. Of couse this not very flexible, and not usable for inserting data.