Re: How to assemble all fields of (any) view into a string? - Mailing list pgsql-general

From John R Pierce
Subject Re: How to assemble all fields of (any) view into a string?
Date
Msg-id 0897ab84-4fb0-a560-26b5-05ed90559c34@hogranch.com
Whole thread Raw
In response to Re: How to assemble all fields of (any) view into a string?  (Ken Tanzer <ken.tanzer@gmail.com>)
Responses Re: How to assemble all fields of (any) view into a string?  (Ken Tanzer <ken.tanzer@gmail.com>)
List pgsql-general
On 9/7/2016 1:36 PM, Ken Tanzer wrote:
> No transformation is needed, except for padding the fields out to
> their maximum lengths.

without accessing metadata, how would you know what those maximum
lengths are??

and how would the calling program even know what the fields are if its
not aware of the field lengths?

what if a field is type 'text' ? or an array type ?


--
john r pierce, recycling bits in santa cruz



pgsql-general by date:

Previous
From: Jim Nasby
Date:
Subject: Re: IDE for function/stored proc development.
Next
From: Adrian Klaver
Date:
Subject: Re: How to assemble all fields of (any) view into a string?