Re: psql tab completion for DO blocks

Euler Taveira <euler@timbira.com>

From: Euler Taveira de Oliveira <euler@timbira.com>
To: David Fetter <david@fetter.org>
Cc: Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>, Bruce Momjian <bruce@momjian.us>, pgsql-hackers@postgresql.org
Date: 2010-02-12T02:21:02Z
Lists: pgsql-hackers
David Fetter escreveu:
> It's consistent with how we do CREATE FUNCTION, where the order of
> parameters after RETURNS is arbitrary.
> 
If it is arbitrary the synopsis is wrong because it is imposing that code
should be written after DO. It should be:

DO { [ LANGUAGE lang_name ] | code } ...


-- 
  Euler Taveira de Oliveira
  http://www.timbira.com/