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-

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

2005-06-09 Thread Otto Blomqvist
Hello ! Is there any way to set all elements in a long boolean array (bool[]) to the same value ? update testbool set "all elements" = false;or so ? ;) Any ideas ? Thanks /Otto Blomqvist ---(end of broadcast)--- TIP 8: explain analyze is