no documentation for (compval).* field selection

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-docs(at)postgresql(dot)org
Subject: no documentation for (compval).* field selection
Date: 2010-10-05 08:58:24
Message-ID: 1286269105.16817.8.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

I couldn't find any documentation for using .* to select all fields
(attributes) of a composite type value, e.g.,

CREATE TYPE comp_t AS (intval integer, textval varchar(32));
CREATE TABLE t4 (compval comp_t);
SELECT (compval).* FROM t4;

The only place this is used is in the hstore documentation.

Would it be appropriate to document this in section "4.2.4. Field
Selection", or is this a special case of some other construct that is
already documented?

Browse pgsql-docs by date

  From Date Subject
Next Message Mike Toews 2010-10-05 19:01:39 Latest release date formatting on http://www.postgresql.org/
Previous Message Thom Brown 2010-10-04 17:50:29 Re: Additional index entries and table sorting