提交 f19ccf93 编写于 作者: B Bruce Momjian

Update pgtcl to 0.3. Update README.

上级 8e4169c7
Copyright (c) 1994-7 Regents of the University of California
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose, without fee, and without a written agreement
is hereby granted, provided that the above copyright notice and this
paragraph and the following two paragraphs appear in all copies.
IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING
LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS
DOCUMENTATION, EVEN IF THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO
PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
PGACCESS 0.3 , 29 September 1997
================================
......@@ -5,15 +29,12 @@ PGACCESS 0.3 , 29 September 1997
1.Why PGACCESS ?
First of all because PostgreSQL lacks a graphical interface from within
you could manage your tables, edit them, define queries, sequences and
functiones more simple than in psql.
In Tcl/Tk because it's a powerfull language, and it tooks me only 3 days
of hard work to get it like you see it.
It's for free! Probably I should enter here that kind of text that says
that is GNU-like license or whatsoever.
Let's say :
If PostgreSQL and Linux are for free, so PGACCESS should be.
First of all because PostgreSQL lacks a graphical interface where you
can manage your tables, edit them, define queries, sequences and
functions.
I use Tcl/Tk because it's a powerfull language, and it took me only
three days of hard work to get it as you see it now.
......@@ -21,24 +42,30 @@ If PostgreSQL and Linux are for free, so PGACCESS should be.
You will need Tcl/Tk package, I am using now Tcl 7.6 and Tk 4.2. There
are some problems running under Tcl/Tk 8.0 but I will soon fix them.
Also, you will need the PostgreSQL to Tcl interface library. It is
called libpgtcl.so and because most of the people asked for it, I
will supply a version compiled for 6.2 along with theese files.
It is compiled and it's working on my system, a RedHat 4.2 Linux on
Pentium machine.
Also, you will need the PostgreSQL to Tcl interface library. It is
called libpgtcl and the source is located in the PostgreSQL directory
/src/interfaces/libpgtcl. Specifically, you will need a libpgtcl
library that is 'load'-able from tck/tk.
Under Linux, this is called libpgtcl.so. You will find a pre-compiled
copy of it for Linux i386 systems at : http://www.flex.ro/pgaccess.
Just copy libpgtcl.so into your system library director (/usr/lib) and
go for it.
3.How to run it?
You run it with the command :
wish -f pgaccess.tcl
You run it with the command:
wish -f pgaccess.tcl.
Another way of loading the PostgreSQL library is running it with pgwish.
It's a wish compiled with libpgtcl library so it could understand the
commands for working with PostgreSQL.
For this, remove the line "load libpgtcl.so" from the source
commands for working with PostgreSQL. For this, remove the line "load
libpgtcl.so" from the source. If your operating system has a different
library name or location, change the 'load libpgtcl.so' line in the
pgaccess.tcl file.
4.What does it now ?
......@@ -61,7 +88,14 @@ Queries
- execution of queries
- vieweing of select type queries result
- running action queries (insert, update, delete)
Sequences
- define them
- inspect them
- delete them
Views
- defining them saving queries as views
- view them , with filtering and sorting capabilities
- delete them
5.What it should do in the future ?
......@@ -84,8 +118,11 @@ Some information about table structure, no. of fields, records would
be also good.
===========================================================================
You would find always the last version at http://www.flex.ro/pgaccess
Please feel free to e-mail me any suggestion , bug description that would
help me improving this
You will always find the latest version at: http://www.flex.ro/pgaccess
Please feel free to e-mail me with any suggestion or bug description
that will help to improve this.
Constantin Teodorescu <teo@flex.ro>
#!/usr/bin/wish
#############################################################################
# Visual Tcl v1.10 Project
#
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册