Обсуждение: Array functions not mentioned in Index

Поиск
Список
Период
Сортировка

Array functions not mentioned in Index

От
Mario Splivalo
Дата:
None of the array functions
(http://www.postgresql.org/docs/8.3/interactive/functions-array.html)
are mentioned in the documentation index. Is that intentional?
I thought it would be 'handy' to have those functions referenced in index.

    Mike

Re: Array functions not mentioned in Index

От
Alvaro Herrera
Дата:
Mario Splivalo wrote:
> None of the array functions
> (http://www.postgresql.org/docs/8.3/interactive/functions-array.html)
> are mentioned in the documentation index. Is that intentional?
> I thought it would be 'handy' to have those functions referenced in index.

Agreed -- please submit a patch.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Re: Array functions not mentioned in Index

От
Mario Splivalo
Дата:
Alvaro Herrera wrote:
> Mario Splivalo wrote:
>> None of the array functions
>> (http://www.postgresql.org/docs/8.3/interactive/functions-array.html)
>> are mentioned in the documentation index. Is that intentional?
>> I thought it would be 'handy' to have those functions referenced in index.
>
> Agreed -- please submit a patch.
>

Sure thing. It will take some time to get along with Docbook, indexing
and everything.

    Mike

Re: Array functions not mentioned in Index

От
Mario Splivalo
Дата:
Alvaro Herrera wrote:
> Mario Splivalo wrote:
>> None of the array functions
>> (http://www.postgresql.org/docs/8.3/interactive/functions-array.html)
>> are mentioned in the documentation index. Is that intentional?
>> I thought it would be 'handy' to have those functions referenced in index.
>
> Agreed -- please submit a patch.

Hope this is ok. How can I submit patch for 8.3 documentation?

    Mario
? func.sgml.patch
Index: doc/src/sgml/func.sgml
===================================================================
RCS file: /projects/cvsroot/pgsql/doc/src/sgml/func.sgml,v
retrieving revision 1.473
diff -c -r1.473 func.sgml
*** doc/src/sgml/func.sgml    23 Mar 2009 21:00:38 -0000    1.473
--- doc/src/sgml/func.sgml    1 Apr 2009 01:48:14 -0000
***************
*** 9338,9343 ****
--- 9338,9380 ----
     for more discussion and examples of the use of these functions.
    </para>

+   <indexterm>
+     <primary>array_append</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_cat</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_ndims</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_dims</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_fill</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_length</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_lower</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_prepend</primary>
+   </indexterm>
+   <indexterm>
+     <primary>array_to_string</primary>
+   </indexterm>
+  <indexterm>
+     <primary>array_upper</primary>
+   </indexterm>
+   <indexterm>
+     <primary>string_to_array</primary>
+   </indexterm>
+   <indexterm>
+     <primary>cardinality</primary>
+   </indexterm>
+
      <table id="array-functions-table">
       <title>Array Functions</title>
       <tgroup cols="5">

Re: Array functions not mentioned in Index

От
Tom Lane
Дата:
Mario Splivalo <mario.splivalo@megafon.hr> writes:
> Hope this is ok. How can I submit patch for 8.3 documentation?

I think you just did.  Applied, thanks.

            regards, tom lane

PS: why'd you omit unnest()?

Re: Array functions not mentioned in Index

От
Mario Splivalo
Дата:
Tom Lane wrote:
> Mario Splivalo <mario.splivalo@megafon.hr> writes:
>> Hope this is ok. How can I submit patch for 8.3 documentation?
>
> I think you just did.  Applied, thanks.

I pulled the source from CVS HEAD branch, I see that is 8.4
documentation (for instance, 'cardinality' function is nonexistant for 8.3).

> PS: why'd you omit unnest()?

I overlooked it, I guess. Sorry.

    Mike


Re: Array functions not mentioned in Index

От
Bruce Momjian
Дата:
Mario Splivalo wrote:
> Tom Lane wrote:
> > Mario Splivalo <mario.splivalo@megafon.hr> writes:
> >> Hope this is ok. How can I submit patch for 8.3 documentation?
> >
> > I think you just did.  Applied, thanks.
>
> I pulled the source from CVS HEAD branch, I see that is 8.4
> documentation (for instance, 'cardinality' function is nonexistant for 8.3).
>
> > PS: why'd you omit unnest()?
>
> I overlooked it, I guess. Sorry.

Did unnest() get added properly too?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

Re: Array functions not mentioned in Index

От
Tom Lane
Дата:
Bruce Momjian <bruce@momjian.us> writes:
> Did unnest() get added properly too?

Yes, I included it in the patch.

            regards, tom lane