pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-docs@postgresql.org
Subject: no documentation for (compval).* field selection
Date: Tue, 05 Oct 2010 11:58:24 +0300
Message-ID: <1286269105.16817.8.camel@vanquo.pezone.net> (raw)

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?





Message-ID: <1286269105.16817.8.camel@vanquo.pezone.net>
Permalink:  ../1286269105.16817.8.camel@vanquo.pezone.net/
Also on:    postgresql.org/message-id/1286269105.16817.8.camel@vanquo.pezone.net

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: no documentation for (compval).* field selection
  In-Reply-To: <1286269105.16817.8.camel@vanquo.pezone.net>

* 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