arrays, not set - Mailing list pgsql-admin

From Vladimir V. Zolotych
Subject arrays, not set
Date
Msg-id 39111E6F.26960708@eurocom.od.ua
Whole thread Raw
List pgsql-admin
  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


pgsql-admin by date:

Previous
From: "Vladimir V. Zolotych"
Date:
Subject: Re: Removing NOT NULL Contraint
Next
From: Nicolas Huillard
Date:
Subject: RE: backup of my database...