Re: proposal: multiple psql option -c

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, dinesh kumar <dineshkumar02(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal: multiple psql option -c
Date: 2015-07-17 04:26:55
Message-ID: 55A8840F.7030307@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> it is one possible solution too
>
> multiple -c option has advantage of simple evaluation of backslash
> statements .. -c "\l" -c "\dt" - but this advantage is not high important.

Or just properly understand the ; ?

-c "select * from foo; update bar set baz = 'bing'; vacuum bar;"

JD

>
> Pavel
>
>
>
> Best Regards,
> Dinesh
> manojadinesh.blogspot.com <http://manojadinesh.blogspot.com>
>
> Regards
>
> Pavel
>
>
>

--
Command Prompt, Inc. - http://www.commandprompt.com/ 503-667-4564
PostgreSQL Centered full stack support, consulting and development.
Announcing "I'm offended" is basically telling the world you can't
control your own emotions, so everyone else should do it for you.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2015-07-17 04:36:40 Re: proposal: multiple psql option -c
Previous Message David Rowley 2015-07-17 03:52:51 Re: Memory Accounting v11