From: Vladimir V. Zolotych <gsmith@eurocom.od.ua>
To: pgsql-admin@postgresql.org
Subject: arrays, not set
Date: Thu, 04 May 2000 10:53:35 +0400
Message-ID: <39111E6F.26960708@eurocom.od.ua> (raw)
Hello all
Does anybody know the way to:
1) Get count of elements in postgres array? E.g. for column of
a type TEXT[] for example?
2) Check the column (field) wasn't set during tuple creation? E.g.
CREATE TABLE foo (a INT4, b TEXT);
INSERT INTO foo (b) VALUES ('asdf');
Field 'a' wasn't set, how I can check that in SELECT?
Thanks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: gsmith@eurocom.od.ua
Subject: Re: arrays, not set
In-Reply-To: <39111E6F.26960708@eurocom.od.ua>
References: <39111E6F.26960708@eurocom.od.ua>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox