Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2a7ab4d

Browse files
committed
Update to pgaccess 0.98.7.
1 parent 7fcd675 commit 2a7ab4d

23 files changed

+299
-223
lines changed

src/bin/pgaccess/README

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
2222
---------------------------------------------------------------------------
2323

2424

25-
PGACCESS 0.98.4 29 January 2000
25+
PGACCESS 0.98.7 27 January 2001
2626
================================
2727
I dedicate this program to my little daughters Ana-Maria and Emilia and to my
2828
wife for their understanding. I hope they will forgive me for spending so many
@@ -32,8 +32,7 @@ time far from them.
3232

3333
1. How to INSTALL ?
3434

35-
You will need a Tcl/Tk package, at least Tcl 7.6 and Tk 4.2, recommended
36-
Tcl/Tk 8.x
35+
You will need a Tcl/Tk package greater than 8.0
3736

3837
For Unix users, unpack the pgaccess-xxx.tar.gz archieve in you preferred
3938
directory (usually /usr/local).

src/bin/pgaccess/demo/formdemo.sql

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,56 @@
11
CREATE SEQUENCE "cities_id_seq" start 7 increment 1 maxvalue 2147483647 minvalue 1 cache 1 ;
2-
SELECT nextval ('cities_id_seq');
2+
SELECT nextval ('"cities_id_seq"');
33
CREATE TABLE "pga_queries" (
44
"queryname" character varying(64),
55
"querytype" character,
66
"querycommand" text,
77
"querytables" text,
88
"querylinks" text,
99
"queryresults" text,
10-
"querycomments" text);
10+
"querycomments" text
11+
);
1112
CREATE TABLE "pga_forms" (
1213
"formname" character varying(64),
13-
"formsource" text);
14+
"formsource" text
15+
);
1416
CREATE TABLE "pga_scripts" (
1517
"scriptname" character varying(64),
16-
"scriptsource" text);
18+
"scriptsource" text
19+
);
1720
CREATE TABLE "pga_reports" (
1821
"reportname" character varying(64),
1922
"reportsource" text,
2023
"reportbody" text,
2124
"reportprocs" text,
22-
"reportoptions" text);
25+
"reportoptions" text
26+
);
2327
CREATE TABLE "phonebook" (
2428
"name" character varying(32),
2529
"phone_nr" character varying(16),
2630
"city" character varying(32),
2731
"company" bool,
28-
"continent" character varying(16));
32+
"continent" character varying(16)
33+
);
2934
CREATE TABLE "pga_layout" (
3035
"tablename" character varying(64),
3136
"nrcols" int2,
3237
"colnames" text,
33-
"colwidth" text);
38+
"colwidth" text
39+
);
3440
CREATE TABLE "pga_schema" (
3541
"schemaname" character varying(64),
3642
"schematables" text,
37-
"schemalinks" text);
43+
"schemalinks" text
44+
);
3845
REVOKE ALL on "pga_schema" from PUBLIC;
3946
GRANT ALL on "pga_schema" to PUBLIC;
4047
CREATE TABLE "cities" (
41-
"id" int4 DEFAULT nextval ( '"cities_id_seq"' ) NOT NULL,
48+
"id" int4 DEFAULT nextval('cities_id_seq'::text) NOT NULL,
4249
"name" character varying(32) NOT NULL,
43-
"prefix" character varying(16) NOT NULL);
50+
"prefix" character varying(16) NOT NULL
51+
);
4452
REVOKE ALL on "cities" from PUBLIC;
53+
GRANT INSERT,SELECT,RULE on "cities" to "teo";
4554
CREATE FUNCTION "getcityprefix" (int4 ) RETURNS varchar AS 'select prefix from cities where id = $1 ' LANGUAGE 'SQL';
4655
COPY "pga_queries" FROM stdin;
4756
Query that can be saved as view S select * from phonebook where continent='usa' \N \N \N \N

src/bin/pgaccess/doc/html/download.html

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,30 +10,11 @@ <h2>
1010
Download</h2>
1111

1212
<hr>
13-
<br>The primary site for PgAccess downloads is:
13+
<br>The primary site for PgAccess download is:
1414
<ul><a href="ftp://ftp.flex.ro/pub/pgaccess">ftp://ftp.flex.ro/pub/pgaccess</a>
1515
<ul>
16-
<li>
17-
<a href="ftp://ftp.flex.ro/pub/pgaccess/pgaccess-0.98.5.tar.gz">Unix tar.gz
18-
file</a></li>
19-
20-
<li>
21-
<a href="ftp://ftp.flex.ro/pub/pgaccess/pgaccess-0.98.5.zip">Windows .zip
22-
file</a></li>
23-
</ul>
24-
</ul>
25-
26-
<p>Another one (just with a little bit faster, try this one first) would
27-
be :
28-
<ul><a href="ftp://speedy.flex.ro/pub/pgaccess">ftp://speedy.flex.ro/pub/pgaccess</a>
29-
<ul>
30-
<li>
31-
<a href="ftp://speedy.flex.ro/pub/pgaccess/pgaccess-0.98.5.tar.gz">Unix tar.gz
32-
file</a></li>
33-
34-
<li>
35-
<a href="ftp://speedy.flex.ro/pub/pgaccess/pgaccess-0.98.5.zip">Windows .zip
36-
file</a></li>
16+
<li><a href="ftp://ftp.flex.ro/pub/pgaccess/pgaccess-0.98.7.tar.gz">Unix tar.gz file</a></li>
17+
<li><a href="ftp://ftp.flex.ro/pub/pgaccess/pgaccess-0.98.7.zip">Windows ZIP file</a></li>
3718
</ul>
3819
</ul>
3920

src/bin/pgaccess/doc/html/main.html

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h1>
1414
using Visual Tcl, the best tool for developing Tcl/Tk applications I've
1515
ever seen.
1616
<p><b>Last version</b>
17-
<br>Last stable version is 0.98.5 , released on 30 March 2000. Read <a href="whatsnew.html">what's
17+
<br>Last stable version is 0.98.7 , released on 27 January 2001. Read <a href="whatsnew.html">what's
1818
new</a> .
1919
<p><b>Portability issues</b>
2020
<br>PgAccess is available for every platform where PostgreSQL was ported
@@ -27,9 +27,7 @@ <h1>
2727
<br>- HPUX
2828
<br>- Irix
2929
<br>- Windows 95,98,NT
30-
<p>PgAccess needs Tcl/Tk versions 8.0.x and higher thought PgAccess. For
31-
win32 platforms there are some special DLL's that have to be downloaded
32-
and installed, more information <a href="win32.html">here</a>.
30+
<p>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 <a href="win32.html">here</a>.
3331
<p>PgAccess is protected by the following <a href="copyright.html">copyright</a>.
3432
</body>
3533
</html>

src/bin/pgaccess/doc/html/whatsnew.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,24 @@
55
<meta name="GENERATOR" content="Mozilla/4.72 [en] (X11; I; Linux 2.2.14 i586) [Netscape]">
66
</head>
77
<body bgcolor="#FEFEDF">
8+
<b>27 January 2001 - PgAccess 0.98.7</b>
9+
<ul>
10+
<li>
11+
Fixed table creation when all columns are inherited and no new columns are added
12+
</li>
13+
<li>
14+
Geometry improvements in diagram definition
15+
</li>
16+
<li>
17+
added DLL's for Win32, Tcl/Tk 8.3.x and PostgreSQL 7.x
18+
</li>
19+
</ul>
20+
21+
<b>1 May 2000 - PgAccess 0.98.6</b>
22+
<ul>
23+
<li>
24+
fixed a ugly bug in forms, query opening procedure</li>
25+
</ul>
826
<b>30 March 2000 - PgAccess 0.98.5</b>
927
<ul>
1028
<li>

src/bin/pgaccess/lib/forms.tcl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ switch $PgAcVar(fdobj,$item,class) {
803803
set DataControlVar($base.$name,recno) 0
804804
set DataControlVar($base.$name,nrecs) \[pg_result \$res -numTuples\]
805805
setCursor NORMAL
806+
pg_result \$res -clear
806807
}"
807808
namespace eval ::DataControl($base.$name) "proc setSQL {sqlcmd} {
808809
global DataControlVar

src/bin/pgaccess/lib/help/create_database.hlp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ CREATE DATABASE name \[ WITH LOCATION = 'dbpath' \]
1818
" {} "CREATEDB" {italic} "
1919
Message returned if the command completes successfully.
2020

21-
" {} "NOTICE: createdb: database \"name\" already exists." {italic} "
21+
" {} "WARN: createdb: database \"name\" already exists." {italic} "
2222
This occurs if database specified already exists.
2323

2424
" {} "ERROR: Unable to create database directory directory" {italic} "

src/bin/pgaccess/lib/help/vacuum.hlp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ VACUUM \[ VERBOSE \] ANALYZE \[ table \[ (column \[, ...\] ) \] \]
1717
Prints a detailed vacuum activity report for each table.
1818

1919
" {} "ANALYZE" {italic} "
20-
Updates column statistics used by the optimizer to determine the most efficient way to execute a query. The statistics represent the dispersion of the data in each column. This information is valuable when several execution paths are possible.
20+
Updates column statistics used by the optimizer to determine the most efficient way to execute a query. The statistics represent the disbursion of the data in each column. This information is valuable when several execution paths are possible.
2121

2222
" {} "table" {italic} "
2323
The name of a specific table to vacuum. Defaults to all tables.

src/bin/pgaccess/lib/languages/czech

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ array set Messages {
346346

347347
"File" "Soubor"
348348

349-
"Your table has no fields!" "Tabulka nem� polo�ky!"
349+
"Your table has no columns!" "Tabulka nem� polo�ky!"
350350

351351
"Height" "V��ka"
352352

src/bin/pgaccess/lib/languages/deutsch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ array set Messages {
346346

347347
"File" "Datei"
348348

349-
"Your table has no fields!" "Die Tabelle hat keine Felder."
349+
"Your table has no columns!" "Die Tabelle hat keine Felder."
350350

351351
"Height" "H�he"
352352

0 commit comments

Comments
 (0)