Re: proposal: multiple psql option -c - Mailing list pgsql-hackers

From Joshua D. Drake
Subject Re: proposal: multiple psql option -c
Date
Msg-id 55A8840F.7030307@commandprompt.com
Whole thread Raw
In response to Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: multiple psql option -c  (Pavel Stehule <pavel.stehule@gmail.com>)
List 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.



pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Memory Accounting v11
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: multiple psql option -c