blob: 84962f44684b2b07e2c0d9bcb11ac76069161bf1 [file] [log] [blame]
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.4: http://docutils.sourceforge.net/" />
<title>PyGreSQL Programming Information</title>
<meta content="The DB-API compliant interface (pgdb module)" name="description" />
<meta content="PyGreSQL, pgdb, DB-API, PostGreSQL, Python" name="keywords" />
<link rel="stylesheet" href="docs.css" type="text/css" />
</head>
<body>
<div class="document" id="pygresql-programming-information">
<h1 class="title">PyGreSQL Programming Information</h1>
<h2 class="subtitle" id="the-db-api-compliant-interface-pgdb-module">The DB-API compliant interface (pgdb module)</h2>
<div class="contents topic">
<p class="topic-title first"><a id="contents" name="contents">Contents</a></p>
<ul class="auto-toc simple">
<li><a class="reference" href="#introduction" id="id1" name="id1">1&nbsp;&nbsp;&nbsp;Introduction</a></li>
<li><a class="reference" href="#the-pgdb-module" id="id2" name="id2">2&nbsp;&nbsp;&nbsp;The pgdb module</a></li>
</ul>
</div>
<div class="section">
<h1><a class="toc-backref" href="#id1" id="introduction" name="introduction">1&nbsp;&nbsp;&nbsp;Introduction</a></h1>
<p>You may either choose to use the
<a class="reference" href="pg.html">&quot;classic&quot; PyGreSQL interface</a>
provided by the <cite>pg</cite> module or else the
<a class="reference" href="pgdb.html">DB-API 2.0 compliant interface</a>
provided by the <cite>pgdb</cite> module.</p>
<p><a class="reference" href="http://www.python.org/dev/peps/pep-0249/">DB-API 2.0</a>
(Python Database API Specification v2.0)
is a specification for connecting to databases (not only PostGreSQL)
from Python that has been developed by the Python DB-SIG in 1999.</p>
<p>The following documentation covers only the newer <cite>pgdb</cite> API.</p>
<dl class="docutils">
<dt>The authoritative programming information for the DB-API is availabe at</dt>
<dd><a class="reference" href="http://www.python.org/dev/peps/pep-0249/">http://www.python.org/dev/peps/pep-0249/</a></dd>
<dt>A tutorial-like introduction to the DB-API can be found at</dt>
<dd><a class="reference" href="http://www2.linuxjournal.com/lj-issues/issue49/2605.html">http://www2.linuxjournal.com/lj-issues/issue49/2605.html</a></dd>
</dl>
</div>
<div class="section">
<h1><a class="toc-backref" href="#id2" id="the-pgdb-module" name="the-pgdb-module">2&nbsp;&nbsp;&nbsp;The pgdb module</a></h1>
<div class="note">
<p class="first admonition-title">Note</p>
<p class="last">This section of the documentation still needs to be written.</p>
</div>
</div>
</div>
</body>
</html>