Here the "setof record" would help against typos. The table() wouldn't.
Here the table() would help. The setof record wouldn't.
I don't see any clear advantage beyond code style.
Moreover, there is another number of typos for which the syntax won't help.
There is a slight difference in the win cases because of an asymmetry introduced to "avoid typos".
You can create more asymmetries in the syntax to make a construct more general than others. The reasons would be, to me, quite disputable.
I was infact asking for the reasons.
I am still looking for an answer, if any.
I don't think people chooses PgSQL because of its adherence to the standard, but rather because of its smart deviances and enhancements.
Enzo.