Re: Review: query result history in psql

From: ian link <ian(at)ilink(dot)io>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Maciej Gajewski <maciej(dot)gajewski0(at)gmail(dot)com>, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Review: query result history in psql
Date: 2013-07-03 01:43:39
Message-ID: CAOOwM5+37pRWXr2j_sAq7HLhJ20T5805O_9+0z5t8prp0m2KgA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> I'm kinda not all that convinced that this feature does anything
> that's actually useful. If you want to save your query results, you
> can just stick "CREATE TEMP TABLE ans AS" in front of your query.
> What does that not give you that this gives you?

Convenience. It auto-increments with each new query, giving you a different
temporary table for each query. Seems pretty helpful to me.

On Tue, Jul 2, 2013 at 6:16 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> On Tue, Jul 2, 2013 at 8:16 PM, ian link <ian(at)ilink(dot)io> wrote:
> > We covered that earlier in the email thread, but it's the current name
> for
> > the query history. I think we are going to change it to something a
> little
> > more descriptive. I was thinking "qh" for short or "query-history".
> >
> >> I'm not sure if I'll be able to implement this feature any time soon,
> >> as I'm very busy at the moment and going for a business trip in few
> >> days.
> >
> > I can try implementing the feature, I might have some time.
>
> I'm kinda not all that convinced that this feature does anything
> that's actually useful. If you want to save your query results, you
> can just stick "CREATE TEMP TABLE ans AS" in front of your query.
> What does that not give you that this gives you?
>
> --
> Robert Haas
> EnterpriseDB: http://www.enterprisedb.com
> The Enterprise PostgreSQL Company
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Etsuro Fujita 2013-07-03 03:34:40 Re: Patch for removng unused targets
Previous Message Robert Haas 2013-07-03 01:16:05 Re: Review: query result history in psql