<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.3 2001/03/06 17:43:56 petere Exp $
Postgres documentation
-->

<refentry id="APP-PGTCLSH">
 <docinfo>
  <date>2001-03-05</date>
 </docinfo>

 <refmeta>
  <refentrytitle>
   pgtclsh
  </refentrytitle>
  <manvolnum>1</manvolnum>
  <refmiscinfo>Application</refmiscinfo>
 </refmeta>

 <refnamediv>
  <refname>pgtclsh</refname>
  <refpurpose>
   <productname>PostgreSQL</productname> <application>Tcl</application> shell client
  </refpurpose>
 </refnamediv>

 <refsynopsisdiv>
  <cmdsynopsis>
   <command>pgtclsh</command>
   <arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>arguments</replaceable></arg></arg>
  </cmdsynopsis>
 </refsynopsisdiv>

 <refsect1 id="app-pgtclsh-description">
  <title>
   Description
  </title>

  <para>
   <command>pgtclsh</command> is a <application>Tcl</application>
   shell interface extended with
   <productname>Postgres</productname> database access functions.
   (Essentially, it is <command>tclsh</command> with
   <filename>libpgtcl</filename> loaded.)  Like with the regular
   <application>Tcl</application> shell, the first command line
   argument is a script file, any remaining arguments are passed to
   the script.  If no script file is named, the shell is
   interactive.
  </para>

  <para>
   A <application>Tcl</application> shell with
   <application>Tk</application> and
   <productname>Postgres</productname> functions is available as <xref
   linkend="app-pgtksh">.
  </para>
 </refsect1>

 <refsect1>
  <title>See Also</title>

  <simplelist type="inline">
   <member><xref linkend="app-pgtksh"></member>
   <member>
    <citetitle>PostgreSQL Programmer's Guide</citetitle> (description of <filename>libpgtcl</filename>)
   </member>
   <member>
    <citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
   </member>
  </simplelist>
 </refsect1>

</refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:nil
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../reference.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:"/usr/lib/sgml/catalog"
sgml-local-ecat-files:nil
End:
-->
