Arrays: determining size - Mailing list pgsql-general

From Steve Crawford
Subject Arrays: determining size
Date
Msg-id 20021202175842.856F7103C7@polaris.pinpointresearch.com
Whole thread Raw
Responses Re: Arrays: determining size
List pgsql-general
Given a variable length array data type in a table:
create table foo (bar text[]);

and some data:
insert into foo values ('{"a","b","c"'});
insert into foo values ('{"1","2","3","4"}');

Is there a simple way to determe the size of each array?

Cheers,
Steve

pgsql-general by date:

Previous
From: "Andy Kriger"
Date:
Subject: mailing list archives very very slow?
Next
From: "Andy Kriger"
Date:
Subject: timing queries?