From 006000a903d796bb434efc38fbdced70a7741a1b Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Thu, 11 Aug 1988 08:12:23 +0000 Subject: [PATCH] ING_DB --- .../dbs/data/base/ingres/au ii | Bin 0 -> 2048 bytes .../contrib/ingres/dbs/data/base/ingres/au.ii | Bin 0 -> 2048 bytes .../dbs/data/base/ingres/doc ii | Bin 0 -> 4096 bytes .../ingres/dbs/data/base/ingres/doc.ii | Bin 0 -> 4096 bytes .../ingres/dbs/data/base/ingres/indexes.ii | Bin 0 -> 512 bytes .../ingres/dbs/data/base/ingres/ingres.lit | 198 ++++++++++++++++++ .../dbs/data/base/ingres/integrities.ii | Bin 0 -> 512 bytes .../contrib/ingres/dbs/data/base/ingres/new.q | 76 +++++++ .../ingres/dbs/data/base/ingres/print.q | 93 ++++++++ .../ingres/dbs/data/base/ingres/protect.ii | Bin 0 -> 512 bytes .../ingres/dbs/data/base/ingres/tree.ii | Bin 0 -> 512 bytes 11 files changed, 367 insertions(+) create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/au ii create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/au.ii create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/doc ii create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/doc.ii create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/indexes.ii create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/ingres.lit create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/integrities.ii create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/new.q create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/print.q create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/protect.ii create mode 100644 WEGA/contrib/ingres/dbs/data/base/ingres/tree.ii diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/au ii b/WEGA/contrib/ingres/dbs/data/base/ingres/au ii new file mode 100644 index 0000000000000000000000000000000000000000..d30e172de967fb61c55a458f231353e7a4904477 GIT binary patch literal 2048 zcmeH{&ubGw6vw}>P5L7>G0?PX8f|LbT8rRC4~mGvim|B{lS63rvL%yb?RKZ^Zj@HR zn}~W*4_=BML{KP#;zba=coaM<-ULtn1>(V(*~Hz>$$~c>SonN)-^`nNGdlnXvP~3h zd)ag(#tKf2xgJwu1j3aJ6dXUGOu==yU6bL)G^<*^FEM#~#q*h^V!I;T9pOD^TE5@T z6pwI!gcA`SFPe_mP9I__#7v0U5GRW)m>w0m(~y(Pp5>4GrZZ!k}sLI z={03gJjAgOjgslF$%U0BARB8oDQnRa$T7LW-TV<|{ip|+eK`oPIu@v9s%j$Jh zjIzblK)cIa6n>GpYRdUCzsh8APX~HIFXP$b zvkp|4ZMSP0VmibfAx?&Ppwcu~ESJmN$q1(+oUSyvNGwBoLd;bx)?l`L8>{%t_nn~5 z@rpQ`Y|%BB0w>M&@4edhKF#|zPiQ`%c~bL~=G!&TXg;L*u;#lo&x-wjOB=LKcj-FW zbctr^I31)MZNpD-0>0n_-r+T#;}P!TCf2}F!#vL86b{2c4ufj{Wg&sIHu|XMdCkW( zAJ^Q_d_wd6nom~SzbSQKq{_LvV3HE*mK|()RQjS~%=4DV>UB#lXP*>dN=DRw_%H7N zH+)j3;1!-?9S?9@oPx_(zzmLI3faj1cL(=>ehW>MIVSIjEp!o~qF3}}|6ym*Yg9b{ O+uy3d2Cm>F62AZzK$TVi literal 0 HcmV?d00001 diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/au.ii b/WEGA/contrib/ingres/dbs/data/base/ingres/au.ii new file mode 100644 index 0000000000000000000000000000000000000000..d30e172de967fb61c55a458f231353e7a4904477 GIT binary patch literal 2048 zcmeH{&ubGw6vw}>P5L7>G0?PX8f|LbT8rRC4~mGvim|B{lS63rvL%yb?RKZ^Zj@HR zn}~W*4_=BML{KP#;zba=coaM<-ULtn1>(V(*~Hz>$$~c>SonN)-^`nNGdlnXvP~3h zd)ag(#tKf2xgJwu1j3aJ6dXUGOu==yU6bL)G^<*^FEM#~#q*h^V!I;T9pOD^TE5@T z6pwI!gcA`SFPe_mP9I__#7v0U5GRW)m>w0m(~y(Pp5>4GrZZ!k}sLI z={03gJjAgOjgslF$%U0BARB8oDQnRa$T7LW-TV<|{ip|+eK`oPIu@v9s%j$Jh zjIzblK)cIa6n>GpYRdUCzsh8APX~HIFXP$b zvkp|4ZMSP0VmibfAx?&Ppwcu~ESJmN$q1(+oUSyvNGwBoLd;bx)?l`L8>{%t_nn~5 z@rpQ`Y|%BB0w>M&@4edhKF#|zPiQ`%c~bL~=G!&TXg;L*u;#lo&x-wjOB=LKcj-FW zbctr^I31)MZNpD-0>0n_-r+T#;}P!TCf2}F!#vL86b{2c4ufj{Wg&sIHu|XMdCkW( zAJ^Q_d_wd6nom~SzbSQKq{_LvV3HE*mK|()RQjS~%=4DV>UB#lXP*>dN=DRw_%H7N zH+)j3;1!-?9S?9@oPx_(zzmLI3faj1cL(=>ehW>MIVSIjEp!o~qF3}}|6ym*Yg9b{ O+uy3d2Cm>F62AZzK$TVi literal 0 HcmV?d00001 diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/doc ii b/WEGA/contrib/ingres/dbs/data/base/ingres/doc ii new file mode 100644 index 0000000000000000000000000000000000000000..660a1e4d9dbfc4a094ec612ad8eec11ba453d2f4 GIT binary patch literal 4096 zcmeHK&u<%55T0%GqXd;AwfqQ$^r1r9N<6szEuIGc)3$s8kDwdnHjWl`9yZ%I9)~ zV?aUFqtH{1-4hrW3rf$9x&pgO;z4eQ&o0{zp6j^$Z&9>ETkP0@6vqMm5`)a8W+rkK z^mpP!s(>oUiK=W%CEcbJW!sJH9+a(=nN5PQQdG+V6uo9d9Ec<3HD$oZJID`0^_Ukd za-3dm5QMUisA+R6osgK7Ce%e_=#i)TqTu^Ir>W^J%BQmD`FvI!#+nJUL|B)2j315A zScBi;3#h^h0$gE`C7?PQ#PX4+Lc13{6a{f8Pbbnu8am4Eivu^5s%L03>&i02ts8yLoGpl;LCv9=j`_bx8^Oh@;}bwfjyJIcdpfq86&C8AeKqwx>kRM|rWt znzU83i_OcaWVdJLvI0+zOOJ((g^a7>pxo>NUStKI^JV;Gd}-v2Mfe_U*8eI8F2R&a zb=mB?&LN-*3FgD$!&D!x?OnRGQG z20}h!ccfRihr-%GsRDn#mJ{f!+Yk^_&SDQy(`J%S_QWf=h`-#oY$(-qBpZ z>;IlOapb8U7sr0f4ly5UDW@ZGEy(3fk{iSG6#gdHQfjwRwSYFEUC+fkLaW4p{tlJL zyH0VZToXq)7;(DWxMna=dNYRf*7;)2`Rt}iho-4%w zuT^^8q1QcnUFw-RGsWCzI8^6;_h0$|uSNE<`5?a!F2(Wl25rE7xQo593b)_}to#jj CXrQ+M literal 0 HcmV?d00001 diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/doc.ii b/WEGA/contrib/ingres/dbs/data/base/ingres/doc.ii new file mode 100644 index 0000000000000000000000000000000000000000..660a1e4d9dbfc4a094ec612ad8eec11ba453d2f4 GIT binary patch literal 4096 zcmeHK&u<%55T0%GqXd;AwfqQ$^r1r9N<6szEuIGc)3$s8kDwdnHjWl`9yZ%I9)~ zV?aUFqtH{1-4hrW3rf$9x&pgO;z4eQ&o0{zp6j^$Z&9>ETkP0@6vqMm5`)a8W+rkK z^mpP!s(>oUiK=W%CEcbJW!sJH9+a(=nN5PQQdG+V6uo9d9Ec<3HD$oZJID`0^_Ukd za-3dm5QMUisA+R6osgK7Ce%e_=#i)TqTu^Ir>W^J%BQmD`FvI!#+nJUL|B)2j315A zScBi;3#h^h0$gE`C7?PQ#PX4+Lc13{6a{f8Pbbnu8am4Eivu^5s%L03>&i02ts8yLoGpl;LCv9=j`_bx8^Oh@;}bwfjyJIcdpfq86&C8AeKqwx>kRM|rWt znzU83i_OcaWVdJLvI0+zOOJ((g^a7>pxo>NUStKI^JV;Gd}-v2Mfe_U*8eI8F2R&a zb=mB?&LN-*3FgD$!&D!x?OnRGQG z20}h!ccfRihr-%GsRDn#mJ{f!+Yk^_&SDQy(`J%S_QWf=h`-#oY$(-qBpZ z>;IlOapb8U7sr0f4ly5UDW@ZGEy(3fk{iSG6#gdHQfjwRwSYFEUC+fkLaW4p{tlJL zyH0VZToXq)7;(DWxMna=dNYRf*7;)2`Rt}iho-4%w zuT^^8q1QcnUFw-RGsWCzI8^6;_h0$|uSNE<`5?a!F2(Wl25rE7xQo593b)_}to#jj CXrQ+M literal 0 HcmV?d00001 diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/indexes.ii b/WEGA/contrib/ingres/dbs/data/base/ingres/indexes.ii new file mode 100644 index 0000000000000000000000000000000000000000..c20e8df4d0d35de1bdfa3b1c79f167ffea51e7e4 GIT binary patch literal 512 icmZQzfC9$EQUy53%*;%Ia}>ClV2VcRVHE;g3=9CBBn1ut literal 0 HcmV?d00001 diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/ingres.lit b/WEGA/contrib/ingres/dbs/data/base/ingres/ingres.lit new file mode 100644 index 0000000..4729503 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/data/base/ingres/ingres.lit @@ -0,0 +1,198 @@ + A N H A N G - L i t e r a t u r v e r z ei c h n i s + -------------------------------------------------------- + + + *** 1977 *** + + M77/5 : ORANGE MEMO * University of California, Berkeley + The Design and Implementation of INGRES + Held, Kreps, Stonebraker, Wong + + M77/25 : ORANGE MEMO * University of California, Berkeley + A Tutorial on INGRES + Epstein + + M77/71 : ORANGE MEMO * University of California, Berkeley + Creating and Maintaining a Data Base Using INGRES + Epstein + + + *** 1978 *** + + M78/17 * University of California, Berkeley + Query Processing in a Relational Database System + Wong, Youssefi + + + *** 1979 *** + + M79/5 * University of California, Berkeley + Data Abstraction, Views and Updates in Rigel + Rowe, Shoens + + M79/20 * University of California, Berkeley + The Effects of Concurrency Control on DBMS Performance + Ries + + + *** 1980 *** + + M80/9 * University of California, Berkeley + Query Processing Techniques for + Distributed Relational Database Systems + Epstein + + + *** 1981 *** + + M81/27 * University of California, Berkeley + Hypothetical Databases as View + Stonebraker + + M81/61 : ORANGE MEMO * University of California, Berkeley + INGRES Version 7 Reference Manual + Allman, Meyer, Ranstrom, Siegel, Woodfill + + M81/93 * University of California, Berkeley + Extending INGRES With a Rules System + Johnson, Rosenberg, Stonebraker + + M81/94 * University of California, Berkeley + A Sophisticated Relational Browser + Kalash, Stonebraker + + + + + *** 1982 *** + + M82/32 : ORANGE MEMO * University of California, Berkeley + Document Processing in a Relational Data Base System + Guttman, Kalash, Lynn, Stettner, Stonebraker + + M82/37 * University of California, Berkeley + Using a Relational DBMS for + Computer-Aided Design Data + Guttman, Stonebraker + + M82/38 : ORANGE MEMO * University of California, Berkeley + A Form Application Development System + Rowe, Shoens + + M82/80 : ORANGE MEMO * University of California, Berkeley + Database Portals: A New Application Program Interface + Rowe, Stonebraker + + + *** 1983 *** + + M83/2 : ORANGE MEMO * University of California, Berkeley + An Implementation of Hypothetical Relations + Stonebraker, Woodfill + + M83/3 : ORANGE MEMO * University of California, Berkeley + Application of Abstract Data Types and Abstract Indices + to CAD Data Bases + Guttman, Rubenstein, Stonebraker + + M83/9 * University of California, Berkeley + A Physical Design Tool for Relational Databases + Youseffi + + M83/55 * University of California, Berkeley + Performance Analysis of Distributed Database Systems + Andersen, Arnold, Kalash, Ranstrom, Stonebraker, Woodfill + + M83/64 : ORANGE MEMO * University of California, Berkeley + R-TREES: A Dynamic Index Structure for Spatial Searching + Guttman, Stonebraker + + M83/73 : ORANGE MEMO * University of California, Berkeley + QUEL as a Data Type + Anderson, Hanson, Rubenstein, Stonebraker + + M83/74 * University of California, Berkeley + Virtual Memory Transaction Management + Stonebraker + + + + + + + + + + + + + + + + + *** 1984 *** + + M84/5 : ORANGE MEMO * University of California, Berkeley + Implementation Techniques for + Main Memory Database Systems + DeWitt, Katz, Olken, Shapiro, Stonebraker, Wood + + M84/58 : ORANGE MEMO * University of California, Berkeley + Heuristic Search in Data Base Systems + Hanson, Ioannidis, Kung, Sellis, Shapiro, Stonebraker + + M84/87 : ORANGE MEMO * University of California, Berkeley + Problems in Supporting Data Base Transactions + in an Operating System Transaction Manager + Stonebraker + + + *** 1985 *** + + M85/1 : ORANGE MEMO * University of California, Berkeley + Optimization of Extended Database Query Languages + Sellis, Shapiro + + M85/6 : ORANGE MEMO * University of California, Berkeley + Bounded Recursion in Deductive Data Bases + Ioannidis + + M85/46 * University of California, Berkeley + Triggers & Inference in Database Systems + Stonebraker + + M85/59 : ORANGE MEMO * University of California, Berkeley + Extending a Database System with Procedures + Anton, Hanson, Stonebraker + + M85/67 : ORANGE MEMO * University of California, Berkeley + Inclusion of New Types in Relational Database Systems + Stonebraker + + M85/95 : ORANGE MEMO * University of California, Berkeley + The Design of POSTGRES + Rowe, Stonebraker + + + *** 1986 *** + + M86/6 * University of California, Berkeley + An Analysis of Rule Indexing Implementation + in Database Systems + Hanson, Sellis, Stonebraker + + M86/19 : ORANGE MEMO * University of California, Berkeley + Global Query Optimization + Sellis + + M86/40 : ORANGE MEMO * University of California, Berkeley + A Shared Object Hierarchy + Rowe + + M86/59 : ORANGE MEMO * University of California, Berkeley + Object Management in POSTGRES using Procedures + Stonebraker + + M86/80 : ORANGE MEMO * University of California, Berkeley + The Design of the POSTGRES Rules System + Hanson, Hong, Stonebraker diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/integrities.ii b/WEGA/contrib/ingres/dbs/data/base/ingres/integrities.ii new file mode 100644 index 0000000000000000000000000000000000000000..ff5d54d1a4aa661e05901ca45bfcc8138c04c541 GIT binary patch literal 512 OcmZQz7zHCZ1h@bK3IGcL literal 0 HcmV?d00001 diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/new.q b/WEGA/contrib/ingres/dbs/data/base/ingres/new.q new file mode 100644 index 0000000..427d8b2 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/data/base/ingres/new.q @@ -0,0 +1,76 @@ +## char TITEL[61]; +## int LINE; +## char TYP[61]; +## char VERLAG[61]; +## char ORT[61]; +## char JAHR[61]; +## char AU[61]; +## int ID; + +main() +{ +## ing_db ingres +## range of r is relation +## retrieve (ID = r.reltups) where r.relid = "doc" +## { + printf("ENTER INGRES DOCUMENT\n\n"); +## } + ID++; + while (enter("\nJAHR", JAHR)) + { + LINE = 0; + *TYP = 0; + *VERLAG = 0; + *ORT = 0; + *AU = 0; + if (enter("TYP", TYP) == 0) + continue; + if (enter("VERLAG", VERLAG) == 0) + continue; + if (enter("ORT", ORT) == 0) + continue; + while (enter("TITEL", TITEL)) + { +## append doc +## ( +## line = LINE, +## titel = TITEL, +## typ = TYP, +## verlag = VERLAG, +## ort = ORT, +## jahr = JAHR, +## id = ID +## ) + LINE++; + } + while (enter("AUTOR", AU)) + { +## append au +## ( +## au = AU, +## id = ID +## ) + } + ID++; + } +} + + +enter(msg, buf) +register char *msg; +register char *buf; +{ + register char *p; + register int c; + + printf("%s: ", msg); + p = buf; + while ((c = getchar()) >= 0) + { + if (c == '\n') + break; + *p++ = c; + } + *p = 0; + return (p - buf); +} diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/print.q b/WEGA/contrib/ingres/dbs/data/base/ingres/print.q new file mode 100644 index 0000000..ae673f3 --- /dev/null +++ b/WEGA/contrib/ingres/dbs/data/base/ingres/print.q @@ -0,0 +1,93 @@ +# include + +## char TITEL[61]; +## int LINE; +## char TYP[61]; +## char AU[61]; +## long ID; +## long NID; + +main() +{ + register char *p; + register int cnt; + +## ing_db ingres +## range of d is doc +## range of a is au + + ID = -1; + for ( ; ; ) + { + cnt = 0; +## retrieve +## ( +## NID = d.id, +## LINE = d.line, +## TITEL = d.titel, +## TYP = d.typ +## ) +## where d.id > ID +## { + if (cnt++ != LINE) + break; + + ID = NID; + format(TITEL, 59); + if (LINE == 0) + { + format(TYP, 59); + printf("%s * University of California, Berkeley\n", TYP); + } + printf("\t%s\n", TITEL); +## } + + if (cnt == 0) + break; + + cnt = 0; +## retrieve (AU = a.au) where a.id = ID +## { + if (cnt++ == 0) + putchar('\t'); + else + printf(", "); + format(AU, 49); + printf("%s", AU); +## } + printf("\n\n"); + } +} + + +enter(msg, buf) +register char *msg; +register char *buf; +{ + register char *p; + register int c; + + fprintf(stderr, "%s:\t", msg); + p = buf; + while ((c = getchar()) >= 0) + { + if (c == '\n') + break; + *p++ = c; + } + *p = 0; + return (p - buf); +} + + +format(msg, len) +register char *msg; +register int len; +{ + register char *p; + + p = &msg[len]; + while (*p == ' ') + --p; + p[1] = 0; +} diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/protect.ii b/WEGA/contrib/ingres/dbs/data/base/ingres/protect.ii new file mode 100644 index 0000000000000000000000000000000000000000..ff5d54d1a4aa661e05901ca45bfcc8138c04c541 GIT binary patch literal 512 OcmZQz7zHCZ1h@bK3IGcL literal 0 HcmV?d00001 diff --git a/WEGA/contrib/ingres/dbs/data/base/ingres/tree.ii b/WEGA/contrib/ingres/dbs/data/base/ingres/tree.ii new file mode 100644 index 0000000000000000000000000000000000000000..ff5d54d1a4aa661e05901ca45bfcc8138c04c541 GIT binary patch literal 512 OcmZQz7zHCZ1h@bK3IGcL literal 0 HcmV?d00001