Skip site navigation (1) Skip section navigation (2)

[INTERFACES] What is the right interface???

From: SWagner17 <SWagner17(at)compuserve(dot)com>
To: ifacesPsql <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: [INTERFACES] What is the right interface???
Date: 1998-11-22 18:03:11
Message-ID: 199811221303_MC2-6121-C8C2@compuserve.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
>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.


pgsql-interfaces by date

Next:From: Ki won, SongDate: 1998-11-23 10:10:54
Subject: How to use ecpg...??
Previous:From: Peter T MountDate: 1998-11-21 12:26:39
Subject: Re: [INTERFACES] looking for postgresql.jar for 6.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group