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

From Stephen Frost
Subject Re: proposal or just idea for psql - show first N rows from relation backslash statement
Date
Msg-id 20130214160310.GA16126@tamriel.snowman.net
Whole thread Raw
In response to Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Merlin Moncure <mmoncure@gmail.com>)
Responses Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
* 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.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: FDW for PostgreSQL
Next
From: Ants Aasma
Date:
Subject: Re: 9.2.3 crashes during archive recovery