|
From: Michael N. <mne...@us...> - 2002-07-03 16:48:41
|
Update of /cvsroot/ruby-dbi/src/doc/html In directory usw-pr-cvs1:/tmp/cvs-serv16447/doc/html Modified Files: index.html Log Message: license changed from GNU GPL to BSD Index: index.html =================================================================== RCS file: /cvsroot/ruby-dbi/src/doc/html/index.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- index.html 16 Apr 2002 20:39:09 -0000 1.21 +++ index.html 3 Jul 2002 16:48:35 -0000 1.22 @@ -10,20 +10,33 @@ <body> <h1><a name="label:0" id="label:0">Ruby/DBI - a database independent interface for accessing databases - similar to Perl's DBI</a></h1><!-- RDLabel: "Ruby/DBI - a database independent interface for accessing databases - similar to Perl's DBI" --> <p>$Id$</p> -<p>Copyright (c) 2001, 2002 by Michael Neumann (ne...@s-...)</p> <h2><a name="label:1" id="label:1">License</a></h2><!-- RDLabel: "License" --> -<p>This program is free software; you can redistribute it and/or -modify it under the terms of the GNU General Public License -as published by the Free Software Foundation; either version 2 -of the License, or (at your option) any later version.</p> -<p>Optionally this program is released under the same terms of license as Ruby itself.</p> -<p>This program is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU General Public License for more details.</p> -<p>You should have received a copy of the GNU General Public License -along with this program; if not, write to the Free Software -Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</p> +<p>Copyright (c) 2001, 2002 Michael Neumann <ne...@s-...></p> +<p>All rights reserved.</p> +<p>Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met:</p> +<ol> +<li>Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer.</li> +<li>Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution.</li> +<li>The name of the author may not be used to endorse or promote products + derived from this software without specific prior written permission.</li> +</ol> +<pre>THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, +INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY +AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</pre> +<p>This is the BSD license which is less restrictive than GNU's GPL (General Public +License).</p> <h2><a name="label:2" id="label:2">Contributors</a></h2><!-- RDLabel: "Contributors" --> <dl> <dt><a name="label:3" id="label:3">Michael Neumann</a></dt><!-- RDLabel: "Michael Neumann" --> @@ -68,8 +81,13 @@ <dd> <p>Fixed bug in DBD ODBC (method columns) and proxyserver.</p> </dd> +<dt><a name="label:13" id="label:13">James F. Hranicky</a></dt><!-- RDLabel: "James F. Hranicky" --> +<dd> +<p>Patch for DBD Pg (cache PGResult#result in Tuples) which increases +performance by a factor around 100</p> +</dd> </dl> -<h2><a name="label:13" id="label:13">Database Drivers (DBDs)</a></h2><!-- RDLabel: "Database Drivers (DBDs)" --> +<h2><a name="label:14" id="label:14">Database Drivers (DBDs)</a></h2><!-- RDLabel: "Database Drivers (DBDs)" --> <ul> <li><p>ADO (ActiveX Data Objects) <em>(dbd_ado)</em></p> <p>depend on WinOLE from RAA.</p></li> @@ -100,46 +118,46 @@ <li><p>Sybase <em>(dbd_sybase)</em></p> <p>this DBD is currently outdated and will <em>not</em> work with DBI versions > 0.0.4 !!! </p></li> </ul> -<h2><a name="label:14" id="label:14">ChangeLog</a></h2><!-- RDLabel: "ChangeLog" --> +<h2><a name="label:15" id="label:15">ChangeLog</a></h2><!-- RDLabel: "ChangeLog" --> <p>See <a href="http://ruby-dbi.sourceforge.net/ChangeLog.html"><URL:http://ruby-dbi.sourceforge.net/ChangeLog.html></a>.</p> -<h2><a name="label:15" id="label:15">ToDo</a></h2><!-- RDLabel: "ToDo" --> +<h2><a name="label:16" id="label:16">ToDo</a></h2><!-- RDLabel: "ToDo" --> <p>See <a href="http://ruby-dbi.sourceforge.net/ToDo.html"><URL:http://ruby-dbi.sourceforge.net/ToDo.html></a>.</p> -<h2><a name="label:16" id="label:16">Download</a></h2><!-- RDLabel: "Download" --> +<h2><a name="label:17" id="label:17">Download</a></h2><!-- RDLabel: "Download" --> <p>Ruby/DBI is available for from the <a href="http://sourceforge.net/project/showfiles.php?group_id=43737">SourceForge project page</a>.</p> <p>If you're running FreeBSD or NetBSD, have a look at their package collections. FreeBSD has for DBI and each DBD an easy to install package, NetBSD currently only for PostgreSQL but more is to come.</p> <p>A NetBSD package for MySQL is available at <a href="http://www.fantasy-coders.de/ruby/ruby-mysql-2.4.tar.gz"><URL:http://www.fantasy-coders.de/ruby/ruby-mysql-2.4.tar.gz></a>.</p> -<h2><a name="label:17" id="label:17">Installation</a></h2><!-- RDLabel: "Installation" --> +<h2><a name="label:18" id="label:18">Installation</a></h2><!-- RDLabel: "Installation" --> <p>All available DBDs come with this package, but you should only install the DBDs you really need.</p> -<h3><a name="label:18" id="label:18">To install all:</a></h3><!-- RDLabel: "To install all:" --> +<h3><a name="label:19" id="label:19">To install all:</a></h3><!-- RDLabel: "To install all:" --> <pre>ruby setup.rb config ruby setup.rb setup ruby setup.rb install</pre> -<h3><a name="label:19" id="label:19">To install dbi and some DBDs:</a></h3><!-- RDLabel: "To install dbi and some DBDs:" --> +<h3><a name="label:20" id="label:20">To install dbi and some DBDs:</a></h3><!-- RDLabel: "To install dbi and some DBDs:" --> <pre>ruby setup.rb config --with=dbi,dbd_pg.... ruby setup.rb setup ruby setup.rb install</pre> <p>Choose the packages to install by specifing them after the option <code>--with</code>.</p> -<h2><a name="label:20" id="label:20">Mailing List</a></h2><!-- RDLabel: "Mailing List" --> +<h2><a name="label:21" id="label:21">Mailing List</a></h2><!-- RDLabel: "Mailing List" --> <p>A mailinglist for DBI-specific discussions is available from the <a href="http://sourceforge.net/projects/ruby-dbi">SourceForge project page</a>.</p> <p>Our former mailing-list was at <a href="http://groups.yahoo.com/group/ruby-dbi-talk"><URL:http://groups.yahoo.com/group/ruby-dbi-talk></a>; please, don't use it!</p> -<h2><a name="label:21" id="label:21">Documentation</a></h2><!-- RDLabel: "Documentation" --> +<h2><a name="label:22" id="label:22">Documentation</a></h2><!-- RDLabel: "Documentation" --> <p>See the directories lib/*/doc or ext/*/doc for DBI and DBD specific informations.</p> <p>The DBI specification is lib/dbi/doc/DBI_SPEC or lib/dbi/doc/html/DBI_SPEC.html or available from WWW at <a href="http://ruby-dbi.sourceforge.net/DBI_SPEC.html"><URL:http://ruby-dbi.sourceforge.net/DBI_SPEC.html></a>.</p> <p>The DBD specification (how to write a database driver) is lib/dbi/doc/DBD_SPEC or lib/dbi/doc/html/DBD_SPEC.html or available from WWW at <a href="http://ruby-dbi.sourceforge.net/DBD_SPEC.html"><URL:http://ruby-dbi.sourceforge.net/DBD_SPEC.html></a>.</p> -<h2><a name="label:22" id="label:22">Applications</a></h2><!-- RDLabel: "Applications" --> -<h3><a name="label:23" id="label:23">sqlsh.rb</a></h3><!-- RDLabel: "sqlsh.rb" --> +<h2><a name="label:23" id="label:23">Applications</a></h2><!-- RDLabel: "Applications" --> +<h3><a name="label:24" id="label:24">sqlsh.rb</a></h3><!-- RDLabel: "sqlsh.rb" --> <p>The SQL command line interpreter sqlsh.rb is available in directory bin/commandline. It gets installed by default.</p> -<h2><a name="label:24" id="label:24">Examples</a></h2><!-- RDLabel: "Examples" --> +<h2><a name="label:25" id="label:25">Examples</a></h2><!-- RDLabel: "Examples" --> <p>Examples can be found in the examples/ subdirectory. In this directory there is the file proxyserver.rb which has to be run if you use the DBD::Proxy, to access databases remote over a TCP/IP network. </p> -<h3><a name="label:25" id="label:25">A simple example</a></h3><!-- RDLabel: "A simple example" --> +<h3><a name="label:26" id="label:26">A simple example</a></h3><!-- RDLabel: "A simple example" --> <pre>require 'dbi' # connect to a datbase @@ -163,7 +181,7 @@ dbh.do('delete from simple01 where internal_id > 10') dbh.disconnect</pre> -<h3><a name="label:26" id="label:26">The same using Ruby's features</a></h3><!-- RDLabel: "The same using Ruby's features" --> +<h3><a name="label:27" id="label:27">The same using Ruby's features</a></h3><!-- RDLabel: "The same using Ruby's features" --> <pre>require 'dbi' DBI.connect('DBI:Mysql:test', 'testuser', 'testpwd') do | dbh | |