# PgAccess - a database management tool for PostgreSQL

This program is protected by the following copyright

- Download the last version of Pgaccess (press shift and click this link).

Latest version of PgAccess is 0.83 , 11 March 1998 !

PgAccess can now design Forms, Reports and Scripts

### Installation problems

- Some problems related with locale special characters could be solved by this simple patch
- I think that there were some problems loading libpgtcl library. I invite you to read a special section concerning libpgtcl

### What does PgAccess now!

Here are some images from PgAccess windows : Main window , table builder , table(query) 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 .

On the TODO list!
- table design (add new fields, renaming, etc.)

If you have any comment, suggestion for improvements, please feel free to e-mail to : teo@flex.ro

Mailing list for PgAccess Here you will find how to subscribe to this mailing list.

# More information about libgtcl

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 here a version already compiled for Linux RedHat 4.2 i386 systems. Just copy libpgtcl.so into your system library directory (/usr/lib or /lib) and 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!

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!