@@ -22,138 +22,53 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222---------------------------------------------------------------------------
2323
2424
25- PGACCESS 0.96 9 March 1999
25+ PGACCESS 0.98 29 August 1999
2626================================
2727I dedicate this program to my little daughters Ana-Maria and Emilia and to my
2828wife for their understanding. I hope they will forgive me for spending so many
2929time far from them.
3030
3131
3232
33- 1.Why PgAccess ?
33+ 1. How to INSTALL ?
3434
35- First of all because PostgreSQL lacks a graphical interface where you
36- can manage your tables, edit them, define queries, sequences and
37- functions.
35+ You will need a Tcl/Tk package, at least Tcl 7.6 and Tk 4.2, recommended
36+ Tcl/Tk 8.x
3837
38+ For Unix users, unpack the pgaccess-xxx.tar.gz archieve in you preferred
39+ directory (usually /usr/local).
3940
41+ Check where your "wish" program is and modify (if needed) the file
42+ /usr/local/pgaccess/pgaccess and set variables PGACCESS_HOME and
43+ PATH_TO_WISH to the appropriate directories.
4044
41- 2.How to INSTALL ?
45+ Include the /usr/local/pgaccess directory into your PATH or make a
46+ symbolic link to it wherever you want (in PATH directories).
47+ Example:
4248
43- You will need Tcl/Tk package, I am using now Tcl 7.6 and Tk 4.2.
44- PgAccess is running fine also on Tcl/Tk 8.0
49+ $ ln -s /usr/local/pgaccess/pgaccess /usr/bin/pgaccess
4550
46- Also, you will need the PostgreSQL to Tcl interface library, lined as a
47- Tcl/Tk 'load'-able module. It is called libpgtcl and the source is
48- located in the PostgreSQL directory /src/interfaces/libpgtcl.
49- Specifically, you will need a libpgtcl library that is 'load'-able from
50- Tcl/Tk. This is technically different from an ordinary PostgreSQL
51- loadable object file, because libpgtcl is a collection of object files.
51+ You will find also some documentation and FAQ in the doc directory.
5252
53- Under Linux, this is called libpgtcl.so. You will find a pre-compiled
54- copy of it for Linux i386 systems at : http://www.flex.ro/pgaccess.
55- Just copy libpgtcl.so into your system library directory /usr/lib or
56- /lib and go for it.
5753
58- Under Windows, copy libpgtcl.dll and libpq.dll into C:\WINDOWS\SYSTEM directory.
59- Make sure you have Tcl/Tk at least version 8.0.0 for Microsoft Windows 95 & NT.
60- PgAccess has been checked with Tcl/Tk 8.0.4 version on Windows95 and Windows98
61- platforms.
6254
63- Tcl/Tk 8.0.4 for Windows95 & NT can be downloaded from
64- ftp://ftp.scriptics.com/pub/tcl/tcl8_0/tcl804.exe
65- It is 1833712 bytes long.
66-
67-
68- 3.How to run it?
55+ 2. Usage
6956
7057You run it with the command:
7158
72- wish -f pgaccess.tcl [database]
59+ pgaccess [database]
7360
7461[database] is optional.
7562
76- Another way of loading the PostgreSQL library is running it with pgwish.
77- It's a wish compiled with libpgtcl library so it could understand the
78- commands for working with PostgreSQL. For this, remove the line "load
79- libpgtcl.so" from the source. If your operating system has a different
80- library name or location, change the 'load libpgtcl.so' line in the
81- pgaccess.tcl file.
82-
83-
84- 4.What does it now ?
85-
86- - Opens any database on a specified host at the specified port, username and password
87- - Perform vacuum command.
88- - Saves preferences in ~/.pgaccessrc file
89-
90- Tables
91- - opening multiple tables for viewing, max n records (configurable)
92- - column resizing by dragging the vertical grid lines
93- - text will wrap in cells now
94- - dynamic row height when editing
95- - table layout saved for every table
96- - import/export to external files (SDF,CSV)
97- - filter capabilities ,enter filter like price>3.14
98- - sort order capabilities ,enter manually the sort field(s)
99- - editing in place, double click the text you want to change
100- - record deleting , point the record, press Del key
101- - adding new records ,save new row with right-button-click on table for the moment
102- - table generator assistant
103- - table renaming and deleting (dropping)
104- - table information retrieving : owner, field information, indexes
105-
106- Queries
107- - define, edit and store "user defined queries"
108- - save view layout
109- - can store queries as views
110- - execution of queries with optional user input parameters ( select * from invoices where year=[parameter "Year of selection"] )
111- - viewing of select type queries result
112- - running action queries (insert, update, delete)
113- - visual query builder with drag & drop support, table aliasing
114-
115- Sequences
116- - define
117- - inspect
118- - delete
119-
120- Views
121- - defining them saving queries as views
122- - view them , with filtering and sorting capabilities
123- - design views
124- - delete them
125-
126- Functions
127- - define , inspect , delete
128-
129- Reports
130- - simple reports from a table (beta stage)
131- - change font,size and style of fields and labels
132- - load and save reports from the database
133- - table previews, sample postscript print
134-
135- Forms
136- - open user defined forms
137- - form design module available
138- - query widget allowing access to a record set
139-
140- Scripts
141- - define, modify and call user defined scripts
142-
143- 5.What it should do in the future ?
144-
145- - sequence and function renaming
146- - more powerful report generator and viewer
147- - help on line
148-
149-
150-
151- 6. How you should report the errors?
63+
64+
65+ 3. Bug reporting
66+
15267First of all : operating system, PostgreSQL version,Tcl/Tk version.
153- A more detailed story of what have you done when errorhad occurred.
68+ A more detailed story of what have you done when error occurred.
15469Tcl/Tk stops usually with a error message and there is a button there
15570"Stack Trace" and if you press it, you will see a detailed information
156- about theplace where it stuck . Please send it to me.
71+ about theprocedure containing the error . Please send it to me.
15772Some information about table structure, no. of fields, records would
15873be also good.
15974