# PgAccess - a free database management tool for PostgreSQL

- Download the last version of PgAccess (press shift and click this link) (tar.gz file) or this one (zip file for Windows)

Latest stable version of PgAccess is 0.93 , released 10 December 1998 !

NEW * NEW * ==> Microsoft Windows compatible version

NEW * ==== > PostgreSQL user management, multiple table views,. Query parameters (see section Queries below)

Precompiled libpgtcl and libpq binaries and dll's for i386 are here !!!

### 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
- For Silicon Graphics Indigo computers, Irix operating system, there is a HOWTO make PgAccess to work

### What does PgAccess now!

Here are some screenshots from PgAccess windows : Main window , table builder , table(query) view , visual query builder .

Tables
- opening multiple tables for viewing, max. n 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
Users
- define and modify user parameters

Here is a special section concerning forms and scripts .

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

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

# More information about libpgtcl - downloads

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.

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.

If you have installed RedHat 5.x, you should get the last distribution kit of PostgreSQL and compile it from scratch. RedHat 5.x is using some new versions of libraries and you have to compile and install again at least libpq and `libpgtcl` libraries.

PostgreSQL 6.4 release has a minor bug. I does not includ by default the crypt lib when compiling libpgtcl. So, you will need to manually add a -lcrypt to SHLIB line in Makefile in src/interfaces/libpgtcl and then make clean and make again. The new libpgtcl.so library is properly configured to run pgaccess.