Re: [DOCS] Array function

2004-12-02 Thread Bruce Momjian
Patch applied. Thanks. --- David Fetter wrote: > On Mon, Nov 01, 2004 at 08:47:05PM +0100, Peter Eisentraut wrote: > > David Fetter wrote: > > > Please find attached a different diff :) > > > > If you want to write a note

Re: [DOCS] Array function

2004-11-27 Thread Bruce Momjian
FYI, this discussion about adding a separate array section to the docs (which we already have, as Peter pointed out) is independent of the ARRAY() documentation addition I just put in the patch queue. --- David Fetter wrote:

Re: [DOCS] Array function

2004-11-27 Thread Bruce Momjian
Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches It will be applied as soon as one of the PostgreSQL committers reviews and approves it. --- Da

Re: [DOCS] Array function

2004-11-02 Thread Jim C. Nasby
Here's an example I just thought of that would be great to document: I have an array of integers. I'd like to also associate some names with them. I can't do this in the same array, but I can do it in a different array. But how do I ensure that when I build that array using name=ARRAY(SELECT name

Re: [DOCS] Array function

2004-11-02 Thread Jim C. Nasby
The datatypes chapter mentions nothing about ARRAY(), for starters. I'm not suggesting that the reference is incomplete, but I think a chapter explaining some about arrays, how to use them, and what you can do with them would be useful. On Mon, Nov 01, 2004 at 11:11:31PM +0100, Peter Eisentraut wr

Re: [DOCS] Array function

2004-11-01 Thread Peter Eisentraut
David Fetter wrote: > Anyhow, where do you think it should go? In the chapter on data types -- where it already is. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go

Re: [DOCS] Array function

2004-11-01 Thread David Fetter
On Mon, Nov 01, 2004 at 01:59:13PM -0600, Jim C. Nasby wrote: > On Sun, Oct 31, 2004 at 04:36:14PM -0800, David Fetter wrote: > > Folks, > > > > Here's a little addition to the array functions & operators > > section of the manual. It adds a function array() to the list. > > > > Cheers, D > > BT

Re: [DOCS] Array function

2004-11-01 Thread David Fetter
On Mon, Nov 01, 2004 at 08:47:05PM +0100, Peter Eisentraut wrote: > David Fetter wrote: > > Please find attached a different diff :) > > If you want to write a note, use the element. Thanks for the tip :) Fixed, attaching a diff against CVS HEAD. Cheers, D -- David Fetter [EMAIL PROTECTED] ht

Re: [DOCS] Array function

2004-11-01 Thread Jim C. Nasby
BTW, it seems it would be useful to dedicate a chapter to array handling, since it's something that's not very common amongst databases. On Sun, Oct 31, 2004 at 04:36:14PM -0800, David Fetter wrote: > Folks, > > Here's a little addition to the array functions & operators section of > the manual.

Re: [DOCS] Array function

2004-11-01 Thread Peter Eisentraut
David Fetter wrote: > Please find attached a different diff :) If you want to write a note, use the element. -- Peter Eisentraut http://developer.postgresql.org/~petere/ ---(end of broadcast)--- TIP 1: subscribe and unsubscribe commands go to [E

Re: [DOCS] Array function

2004-10-31 Thread David Fetter
On Sun, Oct 31, 2004 at 10:40:47PM -0500, Tom Lane wrote: > David Fetter <[EMAIL PROTECTED]> writes: > > Here's a little addition to the array functions & operators section of > > the manual. It adds a function array() to the list. > > The ARRAY() construct isn't really a function; it is a specia

Re: [DOCS] Array function

2004-10-31 Thread Tom Lane
David Fetter <[EMAIL PROTECTED]> writes: > Here's a little addition to the array functions & operators section of > the manual. It adds a function array() to the list. The ARRAY() construct isn't really a function; it is a special syntax documented in Array Constructors, http://developer.postgres