greg@turnstep.com writes:
> Since there is no reason to have a table named "mytable;"
> why not just have psql do the smart thing and silently
> strip the trailing semicolons?
"Stripping" semicolons is one thing, accepting semicolons as command
separators is another. Your patch seems to handle the case of
\d mytable;
but it doesn't handle any of
\d mytable; \d yourtable
\d mytable;<space>
\d mytable; select * from mytable;
Anything short of that plus...
> The attached patch only addresses
> a few backslash commands as a proof of concept,
...is just going to create some other confusion in place of the current
one.
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter