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

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: proposal or just idea for psql - show first N rows from relation backslash statement
Дата
Msg-id CAHyXU0xp_9BhwjkW0cYLToMAr9_4wB=C42YOsGrpH2ag7gayxw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-hackers
On Thu, Feb 14, 2013 at 10:03 AM, Stephen Frost <sfrost@snowman.net> wrote:
> * 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.

sure -- I use this technique often although lately i've moved from
text to hstore/json.

merlin



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: proposal or just idea for psql - show first N rows from relation backslash statement
Следующее
От: Josh Berkus
Дата:
Сообщение: Call for Google Summer of Code mentors, admins