Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1drtkf-0001gv-3w for pgsql-docs@arkaria.postgresql.org; Tue, 12 Sep 2017 22:33:53 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1drtke-00025r-Hy for pgsql-docs@arkaria.postgresql.org; Tue, 12 Sep 2017 22:33:52 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1drtkG-0001QH-W6 for pgsql-docs@postgresql.org; Tue, 12 Sep 2017 22:33:29 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1drtkE-0004sq-7z for pgsql-docs@postgresql.org; Tue, 12 Sep 2017 22:33:27 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1drtkD-0005Ds-HB; Tue, 12 Sep 2017 18:33:25 -0400 Date: Tue, 12 Sep 2017 18:33:25 -0400 From: Bruce Momjian To: artejera@gmail.com Cc: pgsql-docs@postgresql.org Subject: Re: 4.2.9. Type Casts - documentation improvement Message-ID: <20170912223325.GC6766@momjian.us> References: <20170905021712.25640.86402@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170905021712.25640.86402@wrigleys.postgresql.org> User-Agent: Mutt/1.5.23 (2014-03-12) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org 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 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