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

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Merlin Moncure <mmoncure(at)gmail(dot)com>, fabriziomello(at)gmail(dot)com, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal or just idea for psql - show first N rows from relation backslash statement
Date: 2013-02-14 16:35:30
Message-ID: CAFj8pRA9Sh245evODc8-2h01KmVWuCOxMYKhzs6K=+KmK1kMEQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2013/2/14 Stephen Frost <sfrost(at)snowman(dot)net>:
> * Merlin Moncure (mmoncure(at)gmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2013-02-14 16:41:20 Re: proposal or just idea for psql - show first N rows from relation backslash statement
Previous Message Tom Lane 2013-02-14 16:34:17 Re: FDW for PostgreSQL