Re: proposal or just idea for psql - show first N rows from relation backslash statement - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: proposal or just idea for psql - show first N rows from relation backslash statement
Date
Msg-id CAFj8pRA9Sh245evODc8-2h01KmVWuCOxMYKhzs6K=+KmK1kMEQ@mail.gmail.com
Whole thread Raw
In response to Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Responses Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
2013/2/14 Stephen Frost <sfrost@snowman.net>:
> * Merlin Moncure (mmoncure@gmail.com) wrote:
>> That doesn't work.  functions don't allow arbitrary returned columns.
>> CALL should support this.
>
> That's yet another discussion, though for a preview, you could just
> return a single text column from the function in which you do whatever
> formatting you want.

it is not easy - we have no available any formatting support on server side

so then you need to supply lot of libpq code

Pavel

>
>         Thanks,
>
>                 Stephen



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: FDW for PostgreSQL
Next
From: Stephen Frost
Date:
Subject: Re: proposal or just idea for psql - show first N rows from relation backslash statement