Re: [HACKERS] Placement of block label in plpgsql block with DECLARE

2010-03-02 Thread Tom Lane
"David E. Wheeler" writes: > PS: Do you have builds of 7.0 laying around? Sheesh! Use it for testing pg_dump back that far ... regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgr

Re: [HACKERS] Placement of block label in plpgsql block with DECLARE

2010-03-02 Thread David E. Wheeler
On Mar 2, 2010, at 5:14 PM, Tom Lane wrote: > Rather than trying to fix this, I think we should just rip it out and > allow only the documented syntax. Objections? +1 If it never worked, seems like a no-brainer. Best, David PS: Do you have builds of 7.0 laying around? Sheesh! -- Sent via p

[HACKERS] Placement of block label in plpgsql block with DECLARE

2010-03-02 Thread Tom Lane
There's a novice question here http://archives.postgresql.org/pgsql-novice/2010-03/msg5.php that shows up a problem in plpgsql's grammar. The documentation states that when a block is labeled, the label must precede the DECLARE keyword if any: http://developer.postgresql.org/pgdocs/postgres/pl