# 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.97 , released 16 August 1999 !

PgAccess 0.93 and higher will not work from the beginning with PostgreSQL 6.3.x !!
Read here how to apply a simple patch in order to make it work !

NEW | International version (english, french, italian, romanian)
NEW | Context sensitive Help

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, plpgsql and pgtcl languages
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 information

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 include 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.