Update/correct/refine.

This commit is contained in:
Peter Eisentraut 2001-03-06 17:43:56 +00:00
parent b562c62b5d
commit 668c598a30
2 changed files with 81 additions and 86 deletions

View File

@ -1,78 +1,74 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.2 2000/12/25 23:15:26 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtclsh.sgml,v 1.3 2001/03/06 17:43:56 petere Exp $
Postgres documentation Postgres documentation
--> -->
<refentry id="APP-PGTCLSH"> <refentry id="APP-PGTCLSH">
<docinfo> <docinfo>
<date>2000-12-25</date> <date>2001-03-05</date>
</docinfo> </docinfo>
<refmeta> <refmeta>
<refentrytitle id="app-pgtclsh-title"> <refentrytitle>
<application>pgtclsh</application> pgtclsh
</refentrytitle> </refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
<refmiscinfo>Application</refmiscinfo> <refmiscinfo>Application</refmiscinfo>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname> <refname>pgtclsh</refname>
<application>pgtclsh</application>
</refname>
<refpurpose> <refpurpose>
<productname>Postgres</productname> TCL shell client <productname>PostgreSQL</productname> <application>Tcl</application> shell client
</refpurpose> </refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>pgtclsh</command> <command>pgtclsh</command>
<arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>arguments</replaceable></arg></arg>
</cmdsynopsis> </cmdsynopsis>
<refsect2 id="R2-APP-PGTCLSH-1">
<title>
Inputs
</title>
<para>
<variablelist>
<varlistentry>
<term><replaceable class="PARAMETER">dbname</replaceable></term>
<listitem>
<para>
The name of an existing database to access.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect2>
<refsect2 id="R2-APP-PGTCLSH-2">
<title>
Outputs
</title>
<para>
</para>
</refsect2>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="R1-APP-PGTCLSH-1"> <refsect1 id="app-pgtclsh-description">
<title> <title>
Description Description
</title> </title>
<para> <para>
<application>pgtclsh</application> provides a TCL shell interface <command>pgtclsh</command> is a <application>Tcl</application>
for <productname>Postgres</productname>. 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>
<para> <para>
Another way of accessing <productname>Postgres</productname> A <application>Tcl</application> shell with
through tcl is to use <application>Tk</application> and
<xref linkend="app-pgtksh"> <productname>Postgres</productname> functions is available as <xref
or linkend="app-pgtksh">.
<xref linkend="app-pgaccess">.
</para> </para>
</refsect1> </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> </refentry>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file

View File

@ -1,78 +1,77 @@
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.2 2000/12/25 23:15:26 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pgtksh.sgml,v 1.3 2001/03/06 17:43:56 petere Exp $
Postgres documentation Postgres documentation
--> -->
<refentry id="APP-PGTKSH"> <refentry id="APP-PGTKSH">
<docinfo> <docinfo>
<date>2000-12-25</date> <date>2001-03-05</date>
</docinfo> </docinfo>
<refmeta> <refmeta>
<refentrytitle id="app-pgtksh-title"> <refentrytitle>
<application>pgtksh</application> pgtksh
</refentrytitle> </refentrytitle>
<manvolnum>1</manvolnum> <manvolnum>1</manvolnum>
<refmiscinfo>Application</refmiscinfo> <refmiscinfo>Application</refmiscinfo>
</refmeta> </refmeta>
<refnamediv> <refnamediv>
<refname> <refname>pgtksh</refname>
<application>pgtksh</application>
</refname>
<refpurpose> <refpurpose>
<productname>Postgres</productname> graphical TCL/TK shell <productname>PostgreSQL</productname> <application>Tcl/Tk</application> shell client
</refpurpose> </refpurpose>
</refnamediv> </refnamediv>
<refsynopsisdiv> <refsynopsisdiv>
<cmdsynopsis> <cmdsynopsis>
<command>pgtksh</command> <command>pgtksh</command>
<arg><replaceable>filename</replaceable> <arg rep="repeat"><replaceable>arguments</replaceable></arg></arg>
</cmdsynopsis> </cmdsynopsis>
<refsect2 id="R2-APP-PGTKSH-1">
<title>
Inputs
</title>
<para>
<variablelist>
<varlistentry>
<term><replaceable class="PARAMETER">dbname</replaceable></term>
<listitem>
<para>
The name of an existing database to access.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect2>
<refsect2 id="R2-APP-PGTKSH-2">
<title>
Outputs
</title>
<para>
</para>
</refsect2>
</refsynopsisdiv> </refsynopsisdiv>
<refsect1 id="R1-APP-PGTKSH-1"> <refsect1 id="app-pgtksh-description">
<title> <title>
Description Description
</title> </title>
<para> <para>
<application>pgtksh</application> provides a graphical TCL/TK shell interface <command>pgtksh</command> is a <application>Tcl/Tk</application>
for <productname>Postgres</productname>. shell interface extended with <productname>Postgres</productname>
database access functions. (Essentially, it is
<command>wish</command> with <filename>libpgtcl</filename> loaded.)
Like with <command>wish</command>, the regular
<application>Tcl/Tk</application> shell, the first command line
argument is a script file, any remaining arguments are passed to
the script. Special options may be processed by the
<application>X Window System</application> libraries instead.
If no script file is named, the shell is interactive.
</para> </para>
<para> <para>
Another way of accessing <productname>Postgres</productname> A plain <application>Tcl</application> shell with
through <acronym>TCL</acronym> is to use <productname>Postgres</productname> functions is available as <xref
<xref linkend="app-pgtclsh"> linkend="app-pgtclsh">.
or
<xref linkend="app-pgaccess">.
</para> </para>
</refsect1> </refsect1>
<refsect1>
<title>See Also</title>
<simplelist type="inline">
<member><xref linkend="app-pgtclsh"></member>
<member>
<citetitle>PostgreSQL Programmer's Guide</citetitle> (description of <filename>libpgtcl</filename>)
</member>
<member>
<citerefentry><refentrytitle>tclsh</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
</member>
<member>
<citerefentry><refentrytitle>wish</refentrytitle> <manvolnum>1</manvolnum></citerefentry>
</member>
</simplelist>
</refsect1>
</refentry> </refentry>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file