diff options
| author | Thomas G. Lockhart <lockhart@fourpalms.org> | 1999-07-06 17:16:42 +0000 |
|---|---|---|
| committer | Thomas G. Lockhart <lockhart@fourpalms.org> | 1999-07-06 17:16:42 +0000 |
| commit | a4ac2f458e8cb76177254f4bd7bbd885991379af (patch) | |
| tree | 278de40d122f67db3a6694319b0d3b6880eba752 /doc/src/sgml/ref/drop_aggregate.sgml | |
| parent | 192a66e3dad33ff8aa446c4c053f0b01498549f5 (diff) | |
Fix markup for docbook2man man page generation.
No big deal; fixed lots of other markup at the same time.
Bigest change: make sure there is no whitespace
in front of <term> contents.
This will probably help the other output types too.
Diffstat (limited to 'doc/src/sgml/ref/drop_aggregate.sgml')
| -rw-r--r-- | doc/src/sgml/ref/drop_aggregate.sgml | 264 |
1 files changed, 130 insertions, 134 deletions
diff --git a/doc/src/sgml/ref/drop_aggregate.sgml b/doc/src/sgml/ref/drop_aggregate.sgml index 2cd03ae2ff2..3bdf67037f2 100644 --- a/doc/src/sgml/ref/drop_aggregate.sgml +++ b/doc/src/sgml/ref/drop_aggregate.sgml @@ -1,168 +1,164 @@ -<REFENTRY ID="SQL-DROPAGGREGATE"> - <REFMETA> - <REFENTRYTITLE> +<refentry id="SQL-DROPAGGREGATE"> + <refmeta> + <refentrytitle> DROP AGGREGATE - </REFENTRYTITLE> - <REFMISCINFO>SQL - Language Statements</REFMISCINFO> - </REFMETA> - <REFNAMEDIV> - <REFNAME> + </refentrytitle> + <refmiscinfo>SQL - Language Statements</refmiscinfo> + </refmeta> + <refnamediv> + <refname> DROP AGGREGATE - </REFNAME> - <REFPURPOSE> + </refname> + <refpurpose> Removes the definition of an aggregate function - </REFPURPOSE> + </refpurpose> </refnamediv> - <REFSYNOPSISDIV> - <REFSYNOPSISDIVINFO> - <DATE>1998-04-15</DATE> - </REFSYNOPSISDIVINFO> - <SYNOPSIS> -DROP AGGREGATE <REPLACEABLE CLASS="PARAMETER">name</REPLACEABLE> <REPLACEABLE CLASS="PARAMETER">type</REPLACEABLE> - </SYNOPSIS> - - <REFSECT2 ID="R2-SQL-DROPAGGREGATE-1"> - <REFSECT2INFO> - <DATE>1998-04-15</DATE> - </REFSECT2INFO> - <TITLE> + <refsynopsisdiv> + <refsynopsisdivinfo> + <date>1998-04-15</date> + </refsynopsisdivinfo> + <synopsis> +DROP AGGREGATE <replaceable class="PARAMETER">name</replaceable> <replaceable class="PARAMETER">type</replaceable> + </synopsis> + + <refsect2 id="R2-SQL-DROPAGGREGATE-1"> + <refsect2info> + <date>1998-04-15</date> + </refsect2info> + <title> Inputs - </TITLE> - <PARA> - </PARA> - <VARIABLELIST> - <VARLISTENTRY> - <TERM> - <replaceable class="parameter">name</replaceable> - </TERM> - <LISTITEM> - <PARA> - The name of an existing aggregate function. - </PARA> - </LISTITEM> - </VARLISTENTRY> - <VARLISTENTRY> - <TERM> - <replaceable class="parameter">type</replaceable> - </TERM> - <LISTITEM> - <PARA> - The type of an existing aggregate function. - (Refer to the <citetitle>PostgreSQL User's Guide</citetitle> for - further information about data types). - <comment>This should become a cross-reference rather than a - hard-coded chapter number</comment> - </PARA> - </LISTITEM> - </VARLISTENTRY> - </variablelist> - </REFSECT2> - - <REFSECT2 ID="R2-SQL-DROPAGGREGATE-2"> - <REFSECT2INFO> - <DATE>1998-04-15</DATE> - </REFSECT2INFO> - <TITLE> + </title> + <para> + <variablelist> + <varlistentry> + <term><replaceable class="parameter">name</replaceable></term> + <listitem> + <para> + The name of an existing aggregate function. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><replaceable class="parameter">type</replaceable></term> + <listitem> + <para> + The type of an existing aggregate function. + (Refer to the <citetitle>PostgreSQL User's Guide</citetitle> for + further information about data types). + <comment>This should become a cross-reference rather than a + hard-coded chapter number</comment> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect2> + + <refsect2 id="R2-SQL-DROPAGGREGATE-2"> + <refsect2info> + <date>1998-04-15</date> + </refsect2info> + <title> Outputs - </TITLE> - <PARA> - <VARIABLELIST> - <VARLISTENTRY> - <TERM> - <ReturnValue>DROP</ReturnValue> - </TERM> - <LISTITEM> - <PARA> - Message returned if the command is successful. - </PARA> - </LISTITEM> - </VARLISTENTRY> - <VARLISTENTRY> - <TERM> - <ReturnValue>WARN RemoveAggregate: aggregate '<replaceable class="parameter">name</replaceable>' for '<replaceable class="parameter">type</replaceable>' does not exist</ReturnValue> - </TERM> - <LISTITEM> - <PARA> - This message occurs if the aggregate function specified does not - exist in the database. + </title> + <para> + <variablelist> + <varlistentry> + <term><computeroutput> +DROP + </computeroutput></term> + <listitem> + <para> + Message returned if the command is successful. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><computeroutput> +WARN RemoveAggregate: aggregate '<replaceable class="parameter">agg</replaceable>' for '<replaceable class="parameter">type</replaceable>' does not exist + </computeroutput></term> + <listitem> + <para> + This message occurs if the aggregate function specified does not + exist in the database. </para> </listitem> </varlistentry> - </VARIABLELIST> + </variablelist> </para> - </REFSECT2> - </REFSYNOPSISDIV> - - <REFSECT1 ID="R1-SQL-DROPAGGREGATE-1"> - <REFSECT1INFO> - <DATE>1998-04-15</DATE> - </REFSECT1INFO> - <TITLE> + </refsect2> + </refsynopsisdiv> + + <refsect1 id="R1-SQL-DROPAGGREGATE-1"> + <refsect1info> + <date>1998-04-15</date> + </refsect1info> + <title> Description - </TITLE> - <PARA> + </title> + <para> <command>DROP AGGREGATE</command> will remove all references to an existing aggregate definition. To execute this command the current user must be the owner of the aggregate. - </PARA> - - <REFSECT2 ID="R2-SQL-DROPAGGREGATE-3"> - <REFSECT2INFO> - <DATE>1998-04-15</DATE> - </REFSECT2INFO> - <TITLE> + </para> + + <refsect2 id="R2-SQL-DROPAGGREGATE-3"> + <refsect2info> + <date>1998-04-15</date> + </refsect2info> + <title> Notes - </TITLE> - <PARA> + </title> + <para> The <command>DROP AGGREGATE</command> statement is a -<productname>Postgres</productname> + <productname>Postgres</productname> language extension. - </PARA> - <PARA> + </para> + <para> Refer to the <command>CREATE AGGREGATE</command> statement to create aggregate functions. - </PARA> - </REFSECT2> - </REFSECT1> - - <REFSECT1 ID="R1-SQL-DROPAGGREGATE-2"> - <TITLE> + </para> + </refsect2> + </refsect1> + + <refsect1 id="R1-SQL-DROPAGGREGATE-2"> + <title> Usage - </TITLE> - <PARA> + </title> + <para> To remove the <literal>myavg</literal> aggregate for type <literal>int4</literal>: - </PARA> - <ProgramListing> + </para> + <programlisting> DROP AGGREGATE myavg int4; - </ProgramListing> - </REFSECT1> - - <REFSECT1 ID="R1-SQL-DROPAGGREGATE-3"> - <TITLE> + </programlisting> + </refsect1> + + <refsect1 id="R1-SQL-DROPAGGREGATE-3"> + <title> Compatibility - </TITLE> - <PARA> - </PARA> - - <REFSECT2 ID="R2-SQL-DROPAGGREGATE-4"> - <REFSECT2INFO> - <DATE>1998-04-15</DATE> - </REFSECT2INFO> - <TITLE> + </title> + <para> + </para> + + <refsect2 id="R2-SQL-DROPAGGREGATE-4"> + <refsect2info> + <date>1998-04-15</date> + </refsect2info> + <title> SQL92 - </TITLE> - <PARA> - There is no DROP AGGREGATE statement in <acronym>SQL92</acronym>. - </PARA> + </title> + <para> + There is no DROP AGGREGATE statement in <acronym>SQL92</acronym>. + </para> </refsect2> </refsect1> -</REFENTRY> +</refentry> <!-- Keep this comment at the end of the file Local variables: mode: sgml -sgml-omittag:t +sgml-omittag:nil sgml-shorttag:t sgml-minimize-attributes:nil sgml-always-quote-attributes:t |
