Search Postgresql Archives

Re: Dumping rows into an array?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 15, 2006 at 09:52:48AM -0500, Tom Lane wrote:
> karly@xxxxxxxxxxxxx writes:
> > I've been unable to come up with the counterpart to select the
> > keywords and populate an array that I can return..  
> 
> I think you want something along the lines of
> 
> 	kwlist := array(select keyword from keywords where ...);
> 
> 			regards, tom lane

Thanks for the reply.  

I thought I had tried this, and I had tried something similar, but
for some reason I was using the syntax

   ARRAY[(SELECT ...)]

which didn't work.  I'll have to go read Section 8.10 again.

Thanks for the help.  Now on to my next bug.  {-;

-karl


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux