PageRenderTime 50ms CodeModel.GetById 10ms app.highlight 32ms RepoModel.GetById 2ms app.codeStats 0ms

/doc/core/pgsql_connection.html

https://code.google.com/p/zotonic/
HTML | 216 lines | 179 code | 37 blank | 0 comment | 0 complexity | 964d4597975fba3824a332f89f109d3c MD5 | raw file
  1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2<html>
  3<head>
  4<title>Module pgsql_connection</title>
  5<link rel="stylesheet" type="text/css" href="stylesheet.css" title="EDoc">
  6</head>
  7<body bgcolor="white">
  8<div class="navbar"><a name="#navbar_top"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
  9<hr>
 10
 11<h1>Module pgsql_connection</h1>
 12<ul class="index"><li><a href="#index">Function Index</a></li><li><a href="#functions">Function Details</a></li></ul>
 13
 14
 15<h2><a name="index">Function Index</a></h2>
 16<table width="100%" border="1" cellspacing="0" cellpadding="2" summary="function index"><tr><td valign="top"><a href="#auth-2">auth/2</a></td><td></td></tr>
 17<tr><td valign="top"><a href="#bind-4">bind/4</a></td><td></td></tr>
 18<tr><td valign="top"><a href="#binding-2">binding/2</a></td><td></td></tr>
 19<tr><td valign="top"><a href="#close-3">close/3</a></td><td></td></tr>
 20<tr><td valign="top"><a href="#closing-2">closing/2</a></td><td></td></tr>
 21<tr><td valign="top"><a href="#code_change-4">code_change/4</a></td><td></td></tr>
 22<tr><td valign="top"><a href="#connect-5">connect/5</a></td><td></td></tr>
 23<tr><td valign="top"><a href="#database-1">database/1</a></td><td></td></tr>
 24<tr><td valign="top"><a href="#describe-3">describe/3</a></td><td></td></tr>
 25<tr><td valign="top"><a href="#describing-2">describing/2</a></td><td></td></tr>
 26<tr><td valign="top"><a href="#equery-3">equery/3</a></td><td></td></tr>
 27<tr><td valign="top"><a href="#execute-4">execute/4</a></td><td></td></tr>
 28<tr><td valign="top"><a href="#executing-2">executing/2</a></td><td></td></tr>
 29<tr><td valign="top"><a href="#get_parameter-2">get_parameter/2</a></td><td></td></tr>
 30<tr><td valign="top"><a href="#handle_event-3">handle_event/3</a></td><td></td></tr>
 31<tr><td valign="top"><a href="#handle_info-3">handle_info/3</a></td><td></td></tr>
 32<tr><td valign="top"><a href="#handle_sync_event-4">handle_sync_event/4</a></td><td></td></tr>
 33<tr><td valign="top"><a href="#init-1">init/1</a></td><td></td></tr>
 34<tr><td valign="top"><a href="#initializing-2">initializing/2</a></td><td></td></tr>
 35<tr><td valign="top"><a href="#parse-4">parse/4</a></td><td></td></tr>
 36<tr><td valign="top"><a href="#parsing-2">parsing/2</a></td><td></td></tr>
 37<tr><td valign="top"><a href="#querying-2">querying/2</a></td><td></td></tr>
 38<tr><td valign="top"><a href="#read-3">read/3</a></td><td></td></tr>
 39<tr><td valign="top"><a href="#ready-2">ready/2</a></td><td></td></tr>
 40<tr><td valign="top"><a href="#ready-3">ready/3</a></td><td></td></tr>
 41<tr><td valign="top"><a href="#squery-2">squery/2</a></td><td></td></tr>
 42<tr><td valign="top"><a href="#start_link-0">start_link/0</a></td><td></td></tr>
 43<tr><td valign="top"><a href="#startup-3">startup/3</a></td><td></td></tr>
 44<tr><td valign="top"><a href="#stop-1">stop/1</a></td><td></td></tr>
 45<tr><td valign="top"><a href="#sync-1">sync/1</a></td><td></td></tr>
 46<tr><td valign="top"><a href="#synchronizing-2">synchronizing/2</a></td><td></td></tr>
 47<tr><td valign="top"><a href="#terminate-3">terminate/3</a></td><td></td></tr>
 48</table>
 49
 50<h2><a name="functions">Function Details</a></h2>
 51
 52<h3 class="function"><a name="auth-2">auth/2</a></h3>
 53<div class="spec">
 54<p><tt>auth(X1, State) -&gt; any()</tt></p>
 55</div>
 56
 57<h3 class="function"><a name="bind-4">bind/4</a></h3>
 58<div class="spec">
 59<p><tt>bind(C, Statement, PortalName, Parameters) -&gt; any()</tt></p>
 60</div>
 61
 62<h3 class="function"><a name="binding-2">binding/2</a></h3>
 63<div class="spec">
 64<p><tt>binding(X1, State) -&gt; any()</tt></p>
 65</div>
 66
 67<h3 class="function"><a name="close-3">close/3</a></h3>
 68<div class="spec">
 69<p><tt>close(C, Type, Name) -&gt; any()</tt></p>
 70</div>
 71
 72<h3 class="function"><a name="closing-2">closing/2</a></h3>
 73<div class="spec">
 74<p><tt>closing(X1, State) -&gt; any()</tt></p>
 75</div>
 76
 77<h3 class="function"><a name="code_change-4">code_change/4</a></h3>
 78<div class="spec">
 79<p><tt>code_change(Old_Vsn, State_Name, State, Extra) -&gt; any()</tt></p>
 80</div>
 81
 82<h3 class="function"><a name="connect-5">connect/5</a></h3>
 83<div class="spec">
 84<p><tt>connect(C, Host, Username, Password, Opts) -&gt; any()</tt></p>
 85</div>
 86
 87<h3 class="function"><a name="database-1">database/1</a></h3>
 88<div class="spec">
 89<p><tt>database(C) -&gt; any()</tt></p>
 90</div>
 91
 92<h3 class="function"><a name="describe-3">describe/3</a></h3>
 93<div class="spec">
 94<p><tt>describe(C, Type, Name) -&gt; any()</tt></p>
 95</div>
 96
 97<h3 class="function"><a name="describing-2">describing/2</a></h3>
 98<div class="spec">
 99<p><tt>describing(X1, State) -&gt; any()</tt></p>
100</div>
101
102<h3 class="function"><a name="equery-3">equery/3</a></h3>
103<div class="spec">
104<p><tt>equery(C, Statement, Parameters) -&gt; any()</tt></p>
105</div>
106
107<h3 class="function"><a name="execute-4">execute/4</a></h3>
108<div class="spec">
109<p><tt>execute(C, Statement, PortalName, MaxRows) -&gt; any()</tt></p>
110</div>
111
112<h3 class="function"><a name="executing-2">executing/2</a></h3>
113<div class="spec">
114<p><tt>executing(X1, State) -&gt; any()</tt></p>
115</div>
116
117<h3 class="function"><a name="get_parameter-2">get_parameter/2</a></h3>
118<div class="spec">
119<p><tt>get_parameter(C, Name) -&gt; any()</tt></p>
120</div>
121
122<h3 class="function"><a name="handle_event-3">handle_event/3</a></h3>
123<div class="spec">
124<p><tt>handle_event(Msg, State_Name, State) -&gt; any()</tt></p>
125</div>
126
127<h3 class="function"><a name="handle_info-3">handle_info/3</a></h3>
128<div class="spec">
129<p><tt>handle_info(Info, State_Name, State) -&gt; any()</tt></p>
130</div>
131
132<h3 class="function"><a name="handle_sync_event-4">handle_sync_event/4</a></h3>
133<div class="spec">
134<p><tt>handle_sync_event(Event, From, State_Name, State) -&gt; any()</tt></p>
135</div>
136
137<h3 class="function"><a name="init-1">init/1</a></h3>
138<div class="spec">
139<p><tt>init(X1) -&gt; any()</tt></p>
140</div>
141
142<h3 class="function"><a name="initializing-2">initializing/2</a></h3>
143<div class="spec">
144<p><tt>initializing(X1, State) -&gt; any()</tt></p>
145</div>
146
147<h3 class="function"><a name="parse-4">parse/4</a></h3>
148<div class="spec">
149<p><tt>parse(C, Name, Sql, Types) -&gt; any()</tt></p>
150</div>
151
152<h3 class="function"><a name="parsing-2">parsing/2</a></h3>
153<div class="spec">
154<p><tt>parsing(X1, State) -&gt; any()</tt></p>
155</div>
156
157<h3 class="function"><a name="querying-2">querying/2</a></h3>
158<div class="spec">
159<p><tt>querying(X1, State) -&gt; any()</tt></p>
160</div>
161
162<h3 class="function"><a name="read-3">read/3</a></h3>
163<div class="spec">
164<p><tt>read(Fsm, Sock, Tail) -&gt; any()</tt></p>
165</div>
166
167<h3 class="function"><a name="ready-2">ready/2</a></h3>
168<div class="spec">
169<p><tt>ready(Msg, State) -&gt; any()</tt></p>
170</div>
171
172<h3 class="function"><a name="ready-3">ready/3</a></h3>
173<div class="spec">
174<p><tt>ready(X1, From, State) -&gt; any()</tt></p>
175</div>
176
177<h3 class="function"><a name="squery-2">squery/2</a></h3>
178<div class="spec">
179<p><tt>squery(C, Sql) -&gt; any()</tt></p>
180</div>
181
182<h3 class="function"><a name="start_link-0">start_link/0</a></h3>
183<div class="spec">
184<p><tt>start_link() -&gt; any()</tt></p>
185</div>
186
187<h3 class="function"><a name="startup-3">startup/3</a></h3>
188<div class="spec">
189<p><tt>startup(X1, From, State) -&gt; any()</tt></p>
190</div>
191
192<h3 class="function"><a name="stop-1">stop/1</a></h3>
193<div class="spec">
194<p><tt>stop(C) -&gt; any()</tt></p>
195</div>
196
197<h3 class="function"><a name="sync-1">sync/1</a></h3>
198<div class="spec">
199<p><tt>sync(C) -&gt; any()</tt></p>
200</div>
201
202<h3 class="function"><a name="synchronizing-2">synchronizing/2</a></h3>
203<div class="spec">
204<p><tt>synchronizing(X1, State) -&gt; any()</tt></p>
205</div>
206
207<h3 class="function"><a name="terminate-3">terminate/3</a></h3>
208<div class="spec">
209<p><tt>terminate(Reason, State_Name, State) -&gt; any()</tt></p>
210</div>
211<hr>
212
213<div class="navbar"><a name="#navbar_bottom"></a><table width="100%" border="0" cellspacing="0" cellpadding="2" summary="navigation bar"><tr><td><a href="overview-summary.html" target="overviewFrame">Overview</a></td><td><a href="http://www.erlang.org/"><img src="erlang.png" align="right" border="0" alt="erlang logo"></a></td></tr></table></div>
214<p><i>Generated by EDoc, Aug 12 2011, 20:01:39.</i></p>
215</body>
216</html>