Re: [GENERAL] Setting all elements in an Bool[] array to the same

2005-06-10 Thread Gnanavel Shanmugam
-- {t,t,t,t,t,t} (1 row) with regards, S.Gnanavel > -Original Message- > From: [EMAIL PROTECTED] > Sent: Fri, 10 Jun 2005 04:56:55 -0600 > To: [EMAIL PROTECTED] > Subject: Re: [GENERAL] Setting all elements in an Bool[] array to the > same value > > On Thu, Jun

Re: [GENERAL] Setting all elements in an Bool[] array to the same value

2005-06-10 Thread Michael Fuhr
On Thu, Jun 09, 2005 at 06:10:28PM -0700, Otto Blomqvist wrote: > > Is there any way to set all elements in a long boolean array (bool[]) to > the same value ? In PostgreSQL 7.4 and later you could write a polymorphic function to fill any type of array. Here's a simple example that handles one-