---------------------------------------------------------------------------
-PGACCESS 0.98.4 29 January 2000
+PGACCESS 0.98.7 27 January 2001
================================
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
1. How to INSTALL ?
-You will need a Tcl/Tk package, at least Tcl 7.6 and Tk 4.2, recommended
-Tcl/Tk 8.x
+You will need a Tcl/Tk package greater than 8.0
For Unix users, unpack the pgaccess-xxx.tar.gz archieve in you preferred
directory (usually /usr/local).
CREATE SEQUENCE "cities_id_seq" start 7 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
-SELECT nextval ('cities_id_seq');
+SELECT nextval ('"cities_id_seq"');
CREATE TABLE "pga_queries" (
"queryname" character varying(64),
"querytype" character,
"querytables" text,
"querylinks" text,
"queryresults" text,
- "querycomments" text);
+ "querycomments" text
+);
CREATE TABLE "pga_forms" (
"formname" character varying(64),
- "formsource" text);
+ "formsource" text
+);
CREATE TABLE "pga_scripts" (
"scriptname" character varying(64),
- "scriptsource" text);
+ "scriptsource" text
+);
CREATE TABLE "pga_reports" (
"reportname" character varying(64),
"reportsource" text,
"reportbody" text,
"reportprocs" text,
- "reportoptions" text);
+ "reportoptions" text
+);
CREATE TABLE "phonebook" (
"name" character varying(32),
"phone_nr" character varying(16),
"city" character varying(32),
"company" bool,
- "continent" character varying(16));
+ "continent" character varying(16)
+);
CREATE TABLE "pga_layout" (
"tablename" character varying(64),
"nrcols" int2,
"colnames" text,
- "colwidth" text);
+ "colwidth" text
+);
CREATE TABLE "pga_schema" (
"schemaname" character varying(64),
"schematables" text,
- "schemalinks" text);
+ "schemalinks" text
+);
REVOKE ALL on "pga_schema" from PUBLIC;
GRANT ALL on "pga_schema" to PUBLIC;
CREATE TABLE "cities" (
- "id" int4 DEFAULT nextval ( '"cities_id_seq"' ) NOT NULL,
+ "id" int4 DEFAULT nextval('cities_id_seq'::text) NOT NULL,
"name" character varying(32) NOT NULL,
- "prefix" character varying(16) NOT NULL);
+ "prefix" character varying(16) NOT NULL
+);
REVOKE ALL on "cities" from PUBLIC;
+GRANT INSERT,SELECT,RULE on "cities" to "teo";
CREATE FUNCTION "getcityprefix" (int4 ) RETURNS varchar AS 'select prefix from cities where id = $1 ' LANGUAGE 'SQL';
COPY "pga_queries" FROM stdin;
Query that can be saved as view S select * from phonebook where continent='usa' \N \N \N \N
using Visual Tcl, the best tool for developing Tcl/Tk applications I've
ever seen.
-
Last stable version is 0.98.
5 , released on 30 March 2000. Read
what's
+
Last stable version is 0.98.
7 , released on 27 January 2001. Read
what's
new .
PgAccess is available for every platform where PostgreSQL was ported
- HPUX
- Irix
- Windows 95,98,NT
-
PgAccess needs Tcl/Tk versions 8.0.x and higher thought PgAccess. For
-win32 platforms there are some special DLL's that have to be downloaded
-and installed, more information
here.
+
PgAccess needs Tcl/Tk versions 8.0.x and higher. For win32 platforms there are some special DLL's that have to be downloaded and installed, more information here.
PgAccess is protected by the following copyright.