aboutsummaryrefslogtreecommitdiff
path: root/doc/src/sgml/ref/pgtclsh.sgml
blob: 4b8546fbc10726b338cb6940793fe37d9341e428 (plain)
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
<!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.5 2002/04/21 19:02:39 thomas 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>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>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>
    <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:
-->