Re: [GENERAL] Feature Idea: Statement Echo in DO$$

2013-07-03 Thread Pavel Stehule
Hello 2013/7/3 David Johnston : > I am using a DO$$ $$ block to emulate something that admittedly may be > standard practice to accomplish using psql but for which I am using a less > capable UI. > > Anyway, the basic form is: > > DO $$ > DECLARE some_var varchar := 'value'; > BEGIN > > UPDATE ...

[GENERAL] Feature Idea: Statement Echo in DO$$

2013-07-03 Thread David Johnston
I am using a DO$$ $$ block to emulate something that admittedly may be standard practice to accomplish using psql but for which I am using a less capable UI. Anyway, the basic form is: DO $$ DECLARE some_var varchar := 'value'; BEGIN UPDATE . WHERE col = some_var; UPDATE . WHERE col = so