Re: How to assemble all fields of (any) view into a string?

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: How to assemble all fields of (any) view into a string?
Date: 2016-09-07 23:31:02
Message-ID: 0897ab84-4fb0-a560-26b5-05ed90559c34@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim Nasby 2016-09-07 23:33:57 Re: IDE for function/stored proc development.
Previous Message Jim Nasby 2016-09-07 23:25:24 Re: How to assemble all fields of (any) view into a string?