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

From: Stephen Frost <sfrost(at)snowman(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
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 14:41:39
Message-ID: 20130214144139.GY16126@tamriel.snowman.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

* Pavel Stehule (pavel(dot)stehule(at)gmail(dot)com) wrote:
> it is not true

It most certainly is true- did you look at the command?

SELECT top10('foo');

Note that it's "top10", implying that it'd return the first 10 records.
That's only 2 characters more than:

CALL top10('foo');

It's not as short as '\vt foo', but I never claimed that it was, nor do
I feel it's particularly valuable to shorten it down to that level.

Thanks,

Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2013-02-14 14:43:34 Re: proposal or just idea for psql - show first N rows from relation backslash statement
Previous Message Pavel Stehule 2013-02-14 14:37:10 Re: proposal or just idea for psql - show first N rows from relation backslash statement