diff --git a/src/bin/pgaccess/README.pga b/src/bin/pgaccess/README.pga
index f5a53500060..175a983e642 100644
--- a/src/bin/pgaccess/README.pga
+++ b/src/bin/pgaccess/README.pga
@@ -22,7 +22,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
---------------------------------------------------------------------------
-PGACCESS 0.88 7 June 1998
+PGACCESS 0.90 18 September 1998
================================
I dedicate this program to my little daughters Ana-Maria and Emilia and to my
wife for their understanding. I hope they will forgive me for spending so many
@@ -44,7 +44,7 @@ four days of hard work to get it as you see it now.
2.How to INSTALL ?
You will need Tcl/Tk package, I am using now Tcl 7.6 and Tk 4.2.
-PgAccess is running also on Tcl/Tk 8.0
+PgAccess is running fine also on Tcl/Tk 8.0
Also, you will need the PostgreSQL to Tcl interface library, lined as a
Tcl/Tk 'load'-able module. It is called libpgtcl and the source is
@@ -101,7 +101,7 @@ Queries
- define, edit and store "user defined queries"
- save view layout
- can store queries as views
-- execution of queries
+- execution of queries with optional user input parameters ( select * from invoices where year=[parameter "Year of selection"] )
- viewing of select type queries result
- running action queries (insert, update, delete)
- visual query builder with drag & drop support, table aliasing
@@ -152,10 +152,10 @@ 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
+You would find always 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.
+that will help to improve it.
Constantin Teodorescu
+
-PgAccess - a database management tool for PostgreSQL
+PgAccess - a free database management tool for PostgreSQL
-
+
This program is protected by the following copyright -
Latest version of PgAccess is 0.90 , 18 September 1998 !
+
+ NEW * NEW * NEW *
+NEW * ==== > QUERY PARAMETERS
+(see section Queries below)
+
+Precompiled libpgtcl and libpq binaries for i386 are here
+!!!
+
Latest version of PgAccess is 0.88 , 7 June 1998 !
-
-NEW * NEW * NEW * Precompiled libpgtcl and libpq binaries for i386 are here !!!
-
- PgAccess can now design Forms, +Reports and Scripts + |
Here are some screenshots from PgAccess windows : Main window , table builder , table(query) -view , visual query builder . +view
, visual query builder . -Tables
-
- opening tables for viewing, max. 200 records (changed by preferences
-menu)
-
- column resizing, dragging the vertical grid line (better in table
-space rather than in the table header)
-
- text wrap in cells - layout saved for every table
-
- import/export to external files (SDF,CSV)
-
- filter capabilities (enter filter like (price>3.14)
-
- sort order capabilities (enter manually the sort field(s))
-
- editing in place
-
- improved table generator assistant
-
- improved field editing
-
Queries
-
- define , edit and stores "user defined queries"
-
- store queries as views
-
- execution of queries
-
- viewing of select type queries result
-
- query deleting and renaming
-
- visual query builder with drag & drop capabilities. For any of
-you who had installed the Tcl/Tk plugin for Netscape Navigator, you can
-see it at work clicking here
-
Sequences
-
- defines sequences, delete them and inspect them
-
Functions
-
- define, inspect and delete functions in SQL language
-
Reports
-
- design and display simple reports from tables
-
- fields and labels, font changing, style and size
-
- saves and loads report description from database
-
- show report previews, sample postscript output file
-
Forms
-
- open user defined forms
-
- form design module available
-
- query widget available, controls bound to query results
-
- click here for a description of forms and
-how they can be used
-
Scripts
-
- define, modify and call user defined scripts
-
Here is a special section concerning forms and
-scripts .
+
Tables
+- opening tables for viewing, max. 200 records (changed by preferences
+menu)
+- column resizing, dragging the vertical grid line (better in table space
+rather than in the table header)
+- text wrap in cells - layout saved for every table
+- import/export to external files (SDF,CSV)
+- filter capabilities (enter filter like (price>3.14)
+- sort order capabilities (enter manually the sort field(s))
+- editing in place
+- improved table generator assistant
+- improved field editing
+Queries
+- define , edit and stores "user defined queries"
+- store queries as views
+- execution of queries with optional user input parameters ( select * from
+invoices where year=[parameter "Year of selection"] )
+- viewing of select type queries result
+- query deleting and renaming
+- visual query builder with drag & drop capabilities. For any of you
+who had installed the Tcl/Tk plugin for Netscape Navigator, you can see
+it at work clicking here
+Sequences
+- defines sequences, delete them and inspect them
+Functions
+- define, inspect and delete functions in SQL language
+Reports
+- design and display simple reports from tables
+- fields and labels, font changing, style and size
+- saves and loads report description from database
+- show report previews, sample postscript output file
+Forms
+- open user defined forms
+- form design module available
+- query widget available, controls bound to query results
+- click here for a description of forms and how
+they can be used
+Scripts
+- define, modify and call user defined scripts
+Here is a special section concerning forms and scripts
+.
On the TO-DO list!
-
- table design (add new fields, renaming, etc.)
+
On the TO-DO list!
+- table design (add new fields, renaming, etc.)
+
This program is protected by the following copyright +
If you have any comment, suggestion for improvements, please feel free -to e-mail to : teo@flex.ro +to e-mail to : teo@flex.ro
Mailing list for PgAccess Here -you will find how to subscribe to this mailing list. +you will find how to subscribe to this mailing list.
-
Also, you will need the PostgreSQL to Tcl interface
library, lined as a Tcl/Tk 'load'-able module. 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
Tcl/Tk. This is technically different from
an ordinary PostgreSQL loadable object file, because libpgtcl is a collection
-of object files. Under Linux, this is called libpgtcl.so.
-
You can download from
+of object files. Under Linux, this is called libpgtcl.so.
+ You can download from
here libpgtcl.so and libpq.so compiled for PostgreSQL 6.3
version running on a Linux RedHat 4.2 i386 systems. Just copy libpgtcl.so
and libpq.so into your system library directory (/usr/lib or /lib) and
-go for it.
+go for it.
One of the solutions is to remove from the source the line containing load libpgtcl.so and to load pgaccess.tcl not with wish, but with pgwish (or wishpg) that wish that was linked with -libpgtcl library! I do not recommend this one. +libpgtcl library! I do not recommend this one.
If you have installed RedHat 5.0, you should get the last distribution kit of PostgreSQL and compile it from scratch. RedHat 5.0 is using some new versions of libraries and you have to compile and install again at least libpq and libpgtcl libraries. +
+ +However, the application should work without problems!
-However, the application should work without problems! diff --git a/src/bin/pgaccess/irix.html b/src/bin/pgaccess/irix.html new file mode 100644 index 00000000000..b678458569e --- /dev/null +++ b/src/bin/pgaccess/irix.html @@ -0,0 +1,133 @@ + + +
+This HOWO-TO make PgAccess working under Irix +is written by Stuart Rison
+ +These are the steps that I had to follow to get pgaccess to run on an +INDIGO2 running postgreSQL 6.3.2 under IRIX 5.3. I make no guarantee whatsoever +that the same step will work for others but at least it should point you +in the right direction. Also, I am a biologist by training so I only got +pgaccess working by fudging (that is, trial and error) this means that +some of the steps may be unnecessary (e.g. compiling $postgreSQL_source/src/interfaces/libpgtcl +as both a shared and static library) and they certainly haven't been optimised +(I know nothing about compiler switches etc.).
+ +1) Requirements:
+ +You will need:
+ +2) Installation:
+ +a) tcl/tk:
+ +You must first install tcl and then tk (in that order). I just used +./configure, no switches and gmake. Their installation should be trouble +free. Then you must move headers and libraries to the right places so:
+ +Header files: both tcl and tk have a header file (tcl.h and tk.h). The +tcl.h file is in $tcl_source_dir/generic and the tk.h file is in $tk_source_dir/generic; +both should be copied to /usr/local/include.
+ +Libraries: compilation (with cc) of tcl and tk yield libraries libtcl8.0.a +and libtk8.0.a in $source_dir/unix. Both should be copied to /usr/local/lib.
+b) postgreSQL:
+ +Make sure you have a fully patched postgreSQL source. If your ./configure +says it can't load 'IRIX' settings then you most probably will need to +patch ./configure.
+ +Configure using ./configure with the following switches: ./configure +--with-includes=/usr/local/include
+ +--with-libraries=/usr/local/lib --with-tcl [this and previous line as +one]
+ +Then make, make install as usual
+c) Compiling libpgtcl:
+ +The source for libpgtcl is in $postgreSQL_directory/src/interfaces/libpgsql.
+ +I do this twice. Once with just gmake. This produces a static library +libpgtcl.a which I leave where it is (I don't know what to do with it but +it may just come in handy). The I modify Makefile manually with a text +editor. Essentially I modify two line:
+ +before:
+ +# Shared library stuff
+ +install-shlib-dep := shlib :=
+ +after:
+ +# Shared library stuff
+ +install-shlib-dep := install-shlib shlib := libpgtcl.so.1
+ +Then gmake -f Makefile_modified. This creates two shared (.so) libraries: +libpgtcl.so and libpgtcl.so.1. I can't tell the difference between them +so I copied them both to /usr/lib/.
+d) running pgaccess:
+ +Uncompress pgaccess (usually with gunzip and tar). So long as 'wish' +(a binary produced when compiling tk8.0) is somewhere in your path, you +should be able to run pgaccess with:
+ +wish -f $pgaccess_dir/pgaccess.tcl [postgreSQL_database_name]
+e) et voila!
+ +3) Concluding remarks:
+ +As I stated at the start of this document, following the procedure indicated +above worked for me. I am sure, however, that a few of the steps are unnecessary/non-optimised/stupid +etc. If any Unix (IRIX) boffin is reading this and you spot anything you +would like to comment/correct etc. please e-mail me (stuart@ludwig.ucl.ac.uk). +Also, if you just have questions and think I might help, please contact +me at the same e-mail.
+ +Finally, I can accept no responsibility if these steps don't work for +you or if it all goes horribly wrong and you 'damage' your computer trying +them. Let common sense prevail!
+Good luck
+ +Stuart Rison LICR University College London London W1P 8BT
+stuart@ludwig.ucl.ac.uk