| 1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
| 2 | "http://www.w3.org/TR/html4/loose.dtd"> |
| 3 | <html> |
| 4 | <head> |
| 5 | <meta name="generator" content="HTML Tidy for HTML5 for Linux version 5.6.0"> |
| 6 | <title>pg_conndefaults</title> |
| 7 | <meta name="GENERATOR" content="Modular DocBook HTML Stylesheet Version 1.79"> |
| 8 | <link rev="MADE" href="mailto:[email protected]"> |
| 9 | <link rel="HOME" title="PostgreSQL Tcl Interface Documentation" href="index.html"> |
| 10 | <link rel="UP" title="pgtcl Command Reference" href="libpgtcl-ref.html"> |
| 11 | <link rel="PREVIOUS" title="pg_disconnect" href="pgtcl-pgdisconnect.html"> |
| 12 | <link rel="NEXT" title="pg_exec" href="pgtcl-pgexec.html"> |
| 13 | <link rel="STYLESHEET" type="text/css" href="stylesheet.css"> |
| 14 | </head> |
| 15 | <body class="REFENTRY"> |
| 16 | <div class="NAVHEADER"> |
| 17 | <table summary="Header navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"> |
| 18 | <tr> |
| 19 | <th colspan="5" align="center" valign="bottom">PostgreSQL Tcl Interface Documentation</th> |
| 20 | </tr> |
| 21 | <tr> |
| 22 | <td width="10%" align="left" valign="top"><a href="pgtcl-pgdisconnect.html" accesskey="P">Prev</a></td> |
| 23 | <td width="10%" align="left" valign="top"><a href="pgtcl-pgdisconnect.html">Fast Backward</a></td> |
| 24 | <td width="60%" align="center" valign="bottom"></td> |
| 25 | <td width="10%" align="right" valign="top"><a href="pgtcl-pgexec.html">Fast Forward</a></td> |
| 26 | <td width="10%" align="right" valign="top"><a href="pgtcl-pgexec.html" accesskey="N">Next</a></td> |
| 27 | </tr> |
| 28 | </table> |
| 29 | <hr align="left" width="100%"></div> |
| 30 | <h1><a name="PGTCL-PGCONNDEFAULTS" id="PGTCL-PGCONNDEFAULTS"></a>pg_conndefaults</h1> |
| 31 | <div class="REFNAMEDIV"><a name="AEN763" id="AEN763"></a> |
| 32 | <h2>Name</h2> |
| 33 | pg_conndefaults -- get connection options and their defaults<a name="IX-PGTCL-PGCONNDEFAULTS-2" id="IX-PGTCL-PGCONNDEFAULTS-2"></a></div> |
| 34 | <div class="REFSYNOPSISDIV"><a name="AEN768" id="AEN768"></a> |
| 35 | <h2>Synopsis</h2> |
| 36 | <pre class="SYNOPSIS">pg_conndefaults</pre></div> |
| 37 | <div class="REFSECT1"><a name="AEN770" id="AEN770"></a> |
| 38 | <h2>Description</h2> |
| 39 | <p><code class="FUNCTION">pg_conndefaults</code> returns information about the connection options available in <code class="FUNCTION">pg_connect -conninfo</code> and the current default value for each option.</p> |
| 40 | </div> |
| 41 | <div class="REFSECT1"><a name="AEN775" id="AEN775"></a> |
| 42 | <h2>Arguments</h2> |
| 43 | <p>None</p> |
| 44 | </div> |
| 45 | <div class="REFSECT1"><a name="AEN778" id="AEN778"></a> |
| 46 | <h2>Return Value</h2> |
| 47 | <p>The result is a list describing the possible connection options and their current default values. Each entry in the list is a sublist of the format:</p> |
| 48 | <pre class="SYNOPSIS">{optname label dispchar dispsize value}</pre> |
| 49 | <p>where the <tt class="REPLACEABLE"><i>optname</i></tt> is usable as an option in <code class="FUNCTION">pg_connect -conninfo</code>.</p> |
| 50 | </div> |
| 51 | <div class="NAVFOOTER"> |
| 52 | <hr align="left" width="100%"> |
| 53 | <table summary="Footer navigation table" width="100%" border="0" cellpadding="0" cellspacing="0"> |
| 54 | <tr> |
| 55 | <td width="33%" align="left" valign="top"><a href="pgtcl-pgdisconnect.html" accesskey="P">Prev</a></td> |
| 56 | <td width="34%" align="center" valign="top"><a href="index.html" accesskey="H">Home</a></td> |
| 57 | <td width="33%" align="right" valign="top"><a href="pgtcl-pgexec.html" accesskey="N">Next</a></td> |
| 58 | </tr> |
| 59 | <tr> |
| 60 | <td width="33%" align="left" valign="top">pg_disconnect</td> |
| 61 | <td width="34%" align="center" valign="top"><a href="libpgtcl-ref.html" accesskey="U">Up</a></td> |
| 62 | <td width="33%" align="right" valign="top">pg_exec</td> |
| 63 | </tr> |
| 64 | </table> |
| 65 | </div> |
| 66 | </body> |
| 67 | </html> |