>>>>> "Tom" == Tom Lane <t...@sss.pgh.pa.us> writes:
>> select nth_value(x) from first ignore; Tom> No, because once IGNORE is a keyword, even unreserved, it's not Tom> legal as an AS-less alias. That rule only applies in the select-list, not in the FROM clause; table aliases in FROM are just ColId, so they can be anything except a fully reserved or type_func_name keyword. -- Andrew (irc:RhodiumToad)