<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.7 2003/03/24 14:32:51 petere Exp $
PostgreSQL documentation
-->

<refentry id="APP-PGTCLSH">
 <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>argument</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>PostgreSQL</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>PostgreSQL</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>
    &cite-programmer; (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:
-->
