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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal or just idea for psql - show first N rows from relation backslash statement
Дата
Msg-id CAFj8pRA9Sh245evODc8-2h01KmVWuCOxMYKhzs6K=+KmK1kMEQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: FDW for PostgreSQL
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: proposal or just idea for psql - show first N rows from relation backslash statement