Re: CF3+4 (was Re: Parallel query execution)

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Pavan Deolasee <pavan(dot)deolasee(at)gmail(dot)com>, Phil Sorber <phil(at)omniti(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Abhijit Menon-Sen <ams(at)2ndquadrant(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, Michael Paquier <michael(dot)paquier(at)gmail(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CF3+4 (was Re: Parallel query execution)
Date: 2013-01-23 21:47:58
Message-ID: CAFj8pRA+mN_YaD7w93wFSZ9gqwC6HSOPQnz-jYzZ-ASyhTDAEw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

>
> I do that pretty often. A better approach, imv, would be making psql a
> bit more of a 'real' shell, with loops, conditionals, better variable
> handling, etc.
>

after a few years prototyping on this area I am not sure so this is
good idea. Maybe better to start some new console from scratch.

>> "plpgsql_check_function"
>> I don't like this in its current form. A lot of code that mirrors
>> pl_exec.c. I think we'll have to find a way to somehow re-use the
>> existing code for this. Like, compile the function as usual, but
>> don't stop on error.
>
> Havn't looked at this yet, but your concerns make sense to me.

I invite any moving in this subject - again I wrote lot of variants
and current is a most maintainable (my opinion) - there is redundant
structure (not code) - and simply code. After merging the code lost
readability :(. But I would to continue in work - I am sure so it has
a sense and people and some large companies use it with success, so
it should be in core - in any form.

Regards

Pavel

>
> Thanks!
>
> Stephen

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2013-01-23 21:58:57 Re: [BUGS] BUG #7815: Upgrading PostgreSQL from 9.1 to 9.2 with pg_upgrade/postgreql-setup fails - invalid status retrieve
Previous Message Stephen Frost 2013-01-23 21:33:20 Re: Potential TODO: schema in ALTER DEFAULT PRIVILEGES?