mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Remove more traces of libpgtcl from the source tree. Also, make some
semi-related SGML cleanup. Original patch from ljb220@mindspring.com, additional cleanup by Neil Conway.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.61 2004/09/20 22:48:29 tgl Exp $
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/create_function.sgml,v 1.62 2004/10/01 02:00:44 neilc Exp $
|
||||
-->
|
||||
|
||||
<refentry id="SQL-CREATEFUNCTION">
|
||||
@@ -402,7 +402,8 @@ CREATE FUNCTION add(integer, integer) RETURNS integer
|
||||
</para>
|
||||
|
||||
<para>
|
||||
Increment an integer, making use of an argument name, in PL/PgSQL:
|
||||
Increment an integer, making use of an argument name, in
|
||||
<application>PL/pgSQL</application>:
|
||||
|
||||
<programlisting>
|
||||
CREATE OR REPLACE FUNCTION increment(i integer) RETURNS integer AS '
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
<!--
|
||||
$PostgreSQL: pgsql/doc/src/sgml/ref/pgtclsh.sgml,v 1.10 2003/11/29 19:51:39 pgsql 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>
|
||||
|
||||
<indexterm zone="app-pgtclsh">
|
||||
<primary>pgtclsh</primary>
|
||||
</indexterm>
|
||||
|
||||
<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>
|
||||
<xref linkend="pgtcl"> (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:
|
||||
-->
|
||||
Reference in New Issue
Block a user