diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/catalogs.sgml | 88 | ||||
-rw-r--r-- | doc/src/sgml/ref/create_function.sgml | 9 | ||||
-rw-r--r-- | doc/src/sgml/ref/create_language.sgml | 13 | ||||
-rw-r--r-- | doc/src/sgml/ref/create_type.sgml | 53 |
4 files changed, 10 insertions, 153 deletions
diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index 1ec90fd5ae4..5ef29364533 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -1,6 +1,6 @@ <!-- Documentation of the system catalogs, directed toward PostgreSQL developers - $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.47 2002/07/24 05:51:55 ishii Exp $ + $Header: /cvsroot/pgsql/doc/src/sgml/catalogs.sgml,v 2.48 2002/07/24 19:11:06 petere Exp $ --> <chapter id="catalogs"> @@ -1735,13 +1735,6 @@ </row> <row> - <entry>lancompiler</entry> - <entry><type>text</type></entry> - <entry></entry> - <entry>not currently used</entry> - </row> - - <row> <entry>lanacl</entry> <entry><type>aclitem[]</type></entry> <entry></entry> @@ -1977,14 +1970,6 @@ </row> <row> - <entry>oprprec</entry> - <entry><type>int2</type></entry> - <entry></entry> - <entry>precedence (currently unused, as precedences are hard-wired - in the grammar)</entry> - </row> - - <row> <entry>oprkind</entry> <entry><type>char</type></entry> <entry></entry> @@ -1995,14 +1980,6 @@ </row> <row> - <entry>oprisleft</entry> - <entry><type>bool</type></entry> - <entry></entry> - <entry>left-associativity (currently unused, as this is hard-wired - in the grammar)</entry> - </row> - - <row> <entry>oprcanhash</entry> <entry><type>bool</type></entry> <entry></entry> @@ -2186,13 +2163,6 @@ </row> <row> - <entry>proimplicit</entry> - <entry><type>bool</type></entry> - <entry></entry> - <entry>Function may be invoked as an implicit type coercion</entry> - </row> - - <row> <entry>proisstrict</entry> <entry><type>bool</type></entry> <entry></entry> @@ -2253,34 +2223,6 @@ </row> <row> - <entry>probyte_pct</entry> - <entry><type>int4</type></entry> - <entry></entry> - <entry>dead code</entry> - </row> - - <row> - <entry>properbyte_cpu</entry> - <entry><type>int4</type></entry> - <entry></entry> - <entry>dead code</entry> - </row> - - <row> - <entry>propercall_cpu</entry> - <entry><type>int4</type></entry> - <entry></entry> - <entry>dead code</entry> - </row> - - <row> - <entry>prooutin_ratio</entry> - <entry><type>int4</type></entry> - <entry></entry> - <entry>dead code</entry> - </row> - - <row> <entry>prosrc</entry> <entry><type>text</type></entry> <entry></entry> @@ -2472,13 +2414,6 @@ </row> <row> - <entry>usetrace</entry> - <entry><type>bool</type></entry> - <entry></entry> - <entry>not used</entry> - </row> - - <row> <entry>usesuper</entry> <entry><type>bool</type></entry> <entry></entry> @@ -2844,13 +2779,6 @@ </row> <row> - <entry>typprtlen</entry> - <entry><type>int2</type></entry> - <entry></entry> - <entry>unused</entry> - </row> - - <row> <entry>typbyval</entry> <entry><type>bool</type></entry> <entry></entry> @@ -2953,20 +2881,6 @@ </row> <row> - <entry>typreceive</entry> - <entry><type>regproc</type></entry> - <entry>pg_proc.oid</entry> - <entry>unused</entry> - </row> - - <row> - <entry>typsend</entry> - <entry><type>regproc</type></entry> - <entry>pg_proc.oid</entry> - <entry>unused</entry> - </row> - - <row> <entry>typalign</entry> <entry><type>char</type></entry> <entry></entry> diff --git a/doc/src/sgml/ref/create_function.sgml b/doc/src/sgml/ref/create_function.sgml index e2170dcc45d..2c618140c85 100644 --- a/doc/src/sgml/ref/create_function.sgml +++ b/doc/src/sgml/ref/create_function.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.40 2002/07/18 23:11:27 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_function.sgml,v 1.41 2002/07/24 19:11:07 petere Exp $ --> <refentry id="SQL-CREATEFUNCTION"> @@ -257,16 +257,11 @@ CREATE [ OR REPLACE ] FUNCTION <replaceable class="parameter">name</replaceable> </varlistentry> <varlistentry> - <term>isImmutable</term> <term>isCachable</term> - <term>isStable</term> - <term>isVolatile</term> <listitem> <para> - Equivalent to <literal>IMMUTABLE</literal>, - <literal>STABLE</literal>, <literal>VOLATILE</literal>. <literal>isCachable</literal> is an obsolete equivalent of - <literal>isImmutable</literal>; it's still accepted for + <literal>IMMUTABLE</literal>; it's still accepted for backwards-compatibility reasons. </para> </listitem> diff --git a/doc/src/sgml/ref/create_language.sgml b/doc/src/sgml/ref/create_language.sgml index 1871da57e56..1431c32fc5a 100644 --- a/doc/src/sgml/ref/create_language.sgml +++ b/doc/src/sgml/ref/create_language.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_language.sgml,v 1.25 2002/06/20 15:44:06 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_language.sgml,v 1.26 2002/07/24 19:11:07 petere Exp $ PostgreSQL documentation --> @@ -221,14 +221,13 @@ ERROR: PL handler function <replaceable class="parameter">funcname</replaceable lanpltrusted | boolean | lanplcallfoid | oid | lanvalidator | oid | - lancompiler | text | lanacl | aclitem[] | - lanname | lanispl | lanpltrusted | lanplcallfoid | lanvalidator | lancompiler | lanacl --------------+---------+--------------+---------------+--------------+-------------+-------- - internal | f | f | 0 | 2246 | n/a | - c | f | f | 0 | 2247 | /bin/cc | - sql | f | t | 0 | 2248 | postgres | {=U} + lanname | lanispl | lanpltrusted | lanplcallfoid | lanvalidator | lanacl +-------------+---------+--------------+---------------+--------------+-------- + internal | f | f | 0 | 2246 | + c | f | f | 0 | 2247 | + sql | f | t | 0 | 2248 | {=U} </screen> </para> diff --git a/doc/src/sgml/ref/create_type.sgml b/doc/src/sgml/ref/create_type.sgml index 042a8fd51d6..d4860cff80d 100644 --- a/doc/src/sgml/ref/create_type.sgml +++ b/doc/src/sgml/ref/create_type.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.29 2002/05/18 15:44:47 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/create_type.sgml,v 1.30 2002/07/24 19:11:07 petere Exp $ PostgreSQL documentation --> @@ -24,10 +24,8 @@ PostgreSQL documentation CREATE TYPE <replaceable class="parameter">typename</replaceable> ( INPUT = <replaceable class="parameter">input_function</replaceable>, OUTPUT = <replaceable class="parameter">output_function</replaceable> , INTERNALLENGTH = { <replaceable class="parameter">internallength</replaceable> | VARIABLE } - [ , EXTERNALLENGTH = { <replaceable class="parameter">externallength</replaceable> | VARIABLE } ] [ , DEFAULT = <replaceable class="parameter">default</replaceable> ] [ , ELEMENT = <replaceable class="parameter">element</replaceable> ] [ , DELIMITER = <replaceable class="parameter">delimiter</replaceable> ] - [ , SEND = <replaceable class="parameter">send_function</replaceable> ] [ , RECEIVE = <replaceable class="parameter">receive_function</replaceable> ] [ , PASSEDBYVALUE ] [ , ALIGNMENT = <replaceable class="parameter">alignment</replaceable> ] [ , STORAGE = <replaceable class="parameter">storage</replaceable> ] @@ -64,16 +62,6 @@ CREATE TYPE <replaceable class="parameter">typename</replaceable> ( INPUT = <rep </varlistentry> <varlistentry> - <term><replaceable class="parameter">externallength</replaceable></term> - <listitem> - <para> - A literal value, which specifies the external (displayed) length of - the new type. - </para> - </listitem> - </varlistentry> - - <varlistentry> <term><replaceable class="parameter">input_function</replaceable></term> <listitem> <para> @@ -126,26 +114,6 @@ CREATE TYPE <replaceable class="parameter">typename</replaceable> ( INPUT = <rep </para> </listitem> </varlistentry> - <varlistentry> - <term><replaceable class="parameter">send_function</replaceable></term> - <listitem> - <para> - The name of a function, created by <command>CREATE FUNCTION</command>, which - converts data of this type into a form suitable for - transmission to another machine. - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><replaceable class="parameter">receive_function</replaceable></term> - <listitem> - <para> - The name of a function, created by <command>CREATE FUNCTION</command>, which - converts data of this type from a form suitable for - transmission from another machine to internal form. - </para> - </listitem> - </varlistentry> <varlistentry> <term><replaceable class="parameter">alignment</replaceable></term> @@ -260,13 +228,6 @@ CREATE TYPE </para> <para> - The external representation length is similarly specified using the - <replaceable class="parameter">externallength</replaceable> - keyword. (This value is not presently used, and is typically omitted, - letting it default to <option>VARIABLE</option>.) - </para> - - <para> To indicate that a type is an array, specify the type of the array elements using the <option>ELEMENT</> keyword. For example, to define @@ -293,18 +254,6 @@ CREATE TYPE </para> <para> - The optional arguments - <replaceable class="parameter">send_function</replaceable> and - <replaceable class="parameter">receive_function</replaceable> - are not currently used, and are usually omitted (allowing them - to default to the - <replaceable class="parameter">output_function</replaceable> and - <replaceable class="parameter">input_function</replaceable> - respectively). These functions may someday be resurrected for use - in specifying machine-independent binary representations. - </para> - - <para> The optional flag, <option>PASSEDBYVALUE</option>, indicates that values of this data type are passed by value rather than by reference. Note that you |