1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225
|
<!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">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>pgdb — The DB-API Compliant Interface — PyGreSQL 5.0 documentation</title>
<link rel="stylesheet" href="../../_static/cloud.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="../../_static/pygresql.css" type="text/css" />
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Noticia+Text|Open+Sans|Droid+Sans+Mono" type="text/css" />
<script type="text/javascript" id="documentation_options" data-url_root="../../" src="../../_static/documentation_options.js"></script>
<script type="text/javascript" src="../../_static/jquery.js"></script>
<script type="text/javascript" src="../../_static/underscore.js"></script>
<script type="text/javascript" src="../../_static/doctools.js"></script>
<script type="text/javascript" src="../../_static/jquery.cookie.js"></script>
<script type="text/javascript" src="../../_static/cloud.base.js"></script>
<script type="text/javascript" src="../../_static/cloud.js"></script>
<link rel="shortcut icon" href="../../_static/favicon.ico"/>
<link rel="index" title="Index" href="../../genindex.html" />
<link rel="search" title="Search" href="../../search.html" />
<link rel="copyright" title="Copyright" href="../../copyright.html" />
<link rel="next" title="Introduction" href="introduction.html" />
<link rel="prev" title="Remarks on Adaptation and Typecasting" href="../pg/adaptation.html" />
<meta name="viewport" content="width=device-width, initial-scale=1">
</head><body>
<div class="pageheader related" role="navigation" aria-label="related navigation">
<ul>
<li><a href="../../index.html">Home</a></li>
<li><a href="../../download/index.html">Download</a></li>
<li><a href="../index.html">Documentation</a></li>
<li><a href="../../community/index.html">Community</a></li>
</ul>
<div class="logo">
<a href="../../index.html">PyGreSQL</a>
</div>
</div>
</div>
<div class="relbar-top">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../../genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> </li>
<li class="right" >
<a href="introduction.html" title="Introduction"
accesskey="N">next</a> </li>
<li class="right" >
<a href="../pg/adaptation.html" title="Remarks on Adaptation and Typecasting"
accesskey="P">previous</a> </li>
<li><a href="../index.html">PyGreSQL 5.0 documentation</a> »</li>
</ul>
</div>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body" role="main">
<div class="section" id="module-pgdb">
<span id="pgdb-the-db-api-compliant-interface"></span><h1><a class="reference internal" href="#module-pgdb" title="pgdb"><code class="xref py py-mod docutils literal notranslate"><span class="pre">pgdb</span></code></a> — The DB-API Compliant Interface<a class="headerlink" href="#module-pgdb" title="Permalink to this headline">¶</a></h1>
<div class="section" id="contents">
<h2>Contents<a class="headerlink" href="#contents" title="Permalink to this headline">¶</a></h2>
<div class="toctree-wrapper compound">
<ul>
<li class="toctree-l1"><a class="reference internal" href="introduction.html">Introduction</a></li>
<li class="toctree-l1"><a class="reference internal" href="module.html">Module functions and constants</a><ul>
<li class="toctree-l2"><a class="reference internal" href="module.html#connect-open-a-postgresql-connection">connect – Open a PostgreSQL connection</a></li>
<li class="toctree-l2"><a class="reference internal" href="module.html#get-set-reset-typecast-control-the-global-typecast-functions">get/set/reset_typecast – Control the global typecast functions</a></li>
<li class="toctree-l2"><a class="reference internal" href="module.html#module-constants">Module constants</a></li>
<li class="toctree-l2"><a class="reference internal" href="module.html#errors-raised-by-this-module">Errors raised by this module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="connection.html">Connection – The connection object</a><ul>
<li class="toctree-l2"><a class="reference internal" href="connection.html#close-close-the-connection">close – close the connection</a></li>
<li class="toctree-l2"><a class="reference internal" href="connection.html#commit-commit-the-connection">commit – commit the connection</a></li>
<li class="toctree-l2"><a class="reference internal" href="connection.html#rollback-roll-back-the-connection">rollback – roll back the connection</a></li>
<li class="toctree-l2"><a class="reference internal" href="connection.html#cursor-return-a-new-cursor-object">cursor – return a new cursor object</a></li>
<li class="toctree-l2"><a class="reference internal" href="connection.html#attributes-that-are-not-part-of-the-standard">Attributes that are not part of the standard</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="cursor.html">Cursor – The cursor object</a><ul>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#description-details-regarding-the-result-columns">description – details regarding the result columns</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#rowcount-number-of-rows-of-the-result">rowcount – number of rows of the result</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#close-close-the-cursor">close – close the cursor</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#execute-execute-a-database-operation">execute – execute a database operation</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#executemany-execute-many-similar-database-operations">executemany – execute many similar database operations</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#callproc-call-a-stored-procedure">callproc – Call a stored procedure</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#fetchone-fetch-next-row-of-the-query-result">fetchone – fetch next row of the query result</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#fetchmany-fetch-next-set-of-rows-of-the-query-result">fetchmany – fetch next set of rows of the query result</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#fetchall-fetch-all-rows-of-the-query-result">fetchall – fetch all rows of the query result</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#arraysize-the-number-of-rows-to-fetch-at-a-time">arraysize - the number of rows to fetch at a time</a></li>
<li class="toctree-l2"><a class="reference internal" href="cursor.html#methods-and-attributes-that-are-not-part-of-the-standard">Methods and attributes that are not part of the standard</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="types.html">Type – Type objects and constructors</a><ul>
<li class="toctree-l2"><a class="reference internal" href="types.html#type-constructors">Type constructors</a></li>
<li class="toctree-l2"><a class="reference internal" href="types.html#type-objects">Type objects</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="typecache.html">TypeCache – The internal cache for database types</a></li>
<li class="toctree-l1"><a class="reference internal" href="adaptation.html">Remarks on Adaptation and Typecasting</a><ul>
<li class="toctree-l2"><a class="reference internal" href="adaptation.html#supported-data-types">Supported data types</a></li>
<li class="toctree-l2"><a class="reference internal" href="adaptation.html#adaptation-of-parameters">Adaptation of parameters</a></li>
<li class="toctree-l2"><a class="reference internal" href="adaptation.html#typecasting-to-python">Typecasting to Python</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
<div class="sphinxsidebarwrapper">
<p class="logo"><a href="../index.html" title="contents/index">
<img class="logo" src="../../_static/pygresql.png" alt="Logo"/>
</a></p><div class="sphinx-toc sphinxlocaltoc">
<h3><a href="../index.html">Page contents</a></h3>
<ul>
<li><a class="reference internal" href="#"><code class="docutils literal notranslate"><span class="pre">pgdb</span></code> — The DB-API Compliant Interface</a><ul>
<li><a class="reference internal" href="#contents">Contents</a></li>
</ul>
</li>
</ul>
</div>
<div class="sphinxprev">
<h4>Previous page</h4>
<p class="topless"><a href="../pg/adaptation.html"
title="Previous page">← Remarks on Adaptation and Typecasting</a></p>
</div>
<div class="sphinxnext">
<h4>Next page</h4>
<p class="topless"><a href="introduction.html"
title="Next page">→ Introduction</a></p>
</div>
<div role="note" aria-label="source link">
<h3>This Page</h3>
<ul class="this-page-menu">
<li><a href="../../_sources/contents/pgdb/index.rst.txt"
rel="nofollow">Show Source</a></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
<h3>Quick search</h3>
<div class="searchformwrapper">
<form class="search" action="../../search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="sidebar-toggle-group no-js">
<button class="sidebar-toggle" id="sidebar-hide" title="Hide the sidebar menu">
«
<span class="show-for-small">hide menu</span>
</button>
<button class="sidebar-toggle" id="sidebar-show" title="Show the sidebar menu">
<span class="show-for-small">menu</span>
<span class="hide-for-small">sidebar</span>
»
</button>
</div>
<div class="clearer"></div>
</div>
<div class="relbar-bottom">
<div class="related" role="navigation" aria-label="related navigation">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="../../genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="../../py-modindex.html" title="Python Module Index"
>modules</a> </li>
<li class="right" >
<a href="introduction.html" title="Introduction"
>next</a> </li>
<li class="right" >
<a href="../pg/adaptation.html" title="Remarks on Adaptation and Typecasting"
>previous</a> </li>
<li><a href="../index.html">PyGreSQL 5.0 documentation</a> »</li>
</ul>
</div>
</div>
<div class="footer" role="contentinfo">
© <a href="../../copyright.html">Copyright</a> 2018, The PyGreSQL team.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.7.5.
</div>
<!-- cloud_sptheme 1.4 -->
</body>
</html>
|