Re: [DOCS] 4.2.9. Type Casts - documentation improvement

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [DOCS] 4.2.9. Type Casts - documentation improvement
Дата
Msg-id 20170912223325.GC6766@momjian.us
обсуждение исходный текст
Ответ на [DOCS] 4.2.9. Type Casts - documentation improvement  (artejera@gmail.com)
Ответы Re: [DOCS] 4.2.9. Type Casts - documentation improvement  (Steve Atkins <steve@blighty.com>)
Re: [DOCS] 4.2.9. Type Casts - documentation improvement  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-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

В списке pgsql-docs по дате отправления:

Предыдущее
От: Zbigniew Szmigiero
Дата:
Сообщение: Re: [DOCS] LOCAL and TIME ZONE in SET
Следующее
От: Steve Atkins
Дата:
Сообщение: Re: [DOCS] 4.2.9. Type Casts - documentation improvement