pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: artejera@gmail.com
Cc: pgsql-docs@postgresql.org
Subject: Re: 4.2.9. Type Casts - documentation improvement
Date: Tue, 12 Sep 2017 18:33:25 -0400
Message-ID: <20170912223325.GC6766@momjian.us> (raw)
In-Reply-To: <20170905021712.25640.86402@wrigleys.postgresql.org>
References: <20170905021712.25640.86402@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

On Tue, Sep  5, 2017 at 02:17:12AM +0000, artejera@gmail.com wrote:
> The following documentation comment has been logged on the website:
> 
> Page: https://www.postgresql.org/docs/9.2/static/sql-syntax.html
> Description:
> 
> Hi,
> 
> There seems to be no explicit documentation of the useful construct:
> 
> Select tt.*::text from tt
> 
> Also related:  4.2.13. Row Constructors
> 
> Congrats for your project. Yours AT

Woh, I was not aware that worked, e.g.:

	test=> SELECT pg_language.*::text FROM pg_language;
	             pg_language
	-------------------------------------
	 (internal,10,f,f,0,0,2246,)
	 (c,10,f,f,0,0,2247,)
	 (sql,10,f,t,0,0,2248,)
	 (plpgsql,10,t,t,12319,12320,12321,)

Any idea where this should be documented.   It is useful?

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +


-- 
Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs



view thread (6+ messages)  latest in thread

Message-ID: <20170912223325.GC6766@momjian.us>
Permalink:  ../20170912223325.GC6766@momjian.us/
Also on:    postgresql.org/message-id/20170912223325.GC6766@momjian.us

 · 

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: bruce@momjian.us, artejera@gmail.com
  Subject: Re: 4.2.9. Type Casts - documentation improvement
  In-Reply-To: <20170912223325.GC6766@momjian.us>

* 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