Yes, a continue or break would fail. A PG_TRY_BREAK or PG_TRY_CONTINUE (as per my suggestion) would however work just fine.A continue or break exiting the construct would do the wrong thing anyway, so I don't see that removing the do{} is very helpful. The point of having it is to make sure that a try/end try block is syntactically like a statement, rather than like a { ... } construct.
And, you get a statement syntax anyway since you can do it all within one single if/else (i.e. with the PG_END_TRY as two ending braces only).
I'm not familiar with pg_indent but my guess is that the first and foremost motivation for its existence is code readability and consistent style? It must be simple to make it recognize and handle the new macros. I volunteer to fix that if such a patch would be well received.This isn't really open for debate, because if we don't put that there, pg_indent will go nuts.
Regards,
Thomas Hallgren
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html