Re: BUG #18178: New Restriction on "ON SELECT" rules on tables
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: Joshua Uyehara <joshua.uyehara@gmail.com>, pgsql-bugs@lists.postgresql.org
Date: 2023-11-03T15:53:31Z
Lists: pgsql-bugs
Laurenz Albe <laurenz.albe@cybertec.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
Commits
-
Doc: update CREATE RULE ref page's hoary discussion of views.
- f53f83b33e42 14.10 landed
- 9d4ea0bb3fd4 16.1 landed
- 95a610b0970d 17.0 landed
- 58d3283b6756 15.5 landed
- 3f9fe9b76f90 11.22 landed
- 1f7d7f102d14 12.17 landed
- 111364ec20e1 13.13 landed
-
Remove logic for converting a table to a view.
- b23cd185fd54 16.0 cited