Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> writes:
> But I wonder if it would not be better to completely remove ON SELECT from the CREATE RULE
> command. Attached is a patch that does that.
I don't think this is a great idea. There are perhaps still pg_dump
scripts out there that use CREATE OR REPLACE RULE "_RETURN" to adjust
view definitions.
regards, tom lane