David Fetter <[EMAIL PROTECTED]> writes: > How about: > <target2> := {row|record|variable|'[ROW](' comma separated list of scalar > vars ')'} > instead, where the ROW is optional?
If we're going to do this at all (which I'm still agin), I think the ROW keyword is important to minimize ambiguity. If you are allowed to start a statement with just "(x, ..." then there will be way too many situations where the parser gets confused by slightly bad input, resulting in way-off-base syntax error reports. Or worse, no syntax error, but a function that does something else than you expected. I know that ROW is optional in the bit of SQL syntax that this proposal is based on, but that's only because the SQL spec says we have to, not because it's a good idea. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 3: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq