forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit58d3283
committed
Doc: update CREATE RULE ref page's hoary discussion of views.
This text left one with the impression that an ON SELECT rule couldbe attached to a plain table, which has not been true since commit264c068 (meaning the text was already misleading when written,evidently by me in96bd67f). However, it didn't get really baduntilb23cd18 removed the convert-a-table-to-a-view logic, whichhad made it possible for scripts that thought they were attachingON SELECTs to tables to still work.Rewrite into a form that makes it clear that an ON SELECT ruleis better regarded as an implementation detail of a view.Pre-v16, point out that adding ON SELECT to a table actuallyconverts it to a view.Per bug #18178 from Joshua Uyehara. Back-patch to all supportedbranches.Discussion:https://postgr.es/m/18178-05534d7064044d2d@postgresql.org1 parent1595724 commit58d3283
1 file changed
+11
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
71 | 73 | | |
72 | 74 | | |
73 | 75 | | |
| |||
0 commit comments
Comments
(0)