From: | "Kevin O'Gorman" <kogorman(at)pacbell(dot)net> |
---|---|
To: | PGSQL Hackers List <pgsql-hackers(at)hub(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Proposed relaxation of CREATE RULE syntax |
Date: | 2000-10-20 00:52:30 |
Message-ID: | 39EF974E.7B852EF7@pacbell.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
I suggest that the CREATE RULE syntax be relaxed so that
it is legal to have a list of SELECT commands in a rule.
I'll argue that:
1) The change is simple (2 lines in gram.y). Diff is
attached.
2) It breaks nothing (more things become legal)
3) It makes the parser agree with the published syntax,
which currently makes no distinction about SELECT
commands.
4) It makes the language more "regular" in that SELECT
commands are no longer special.:
Diff is an attachment because of line-wrapping. I'm new
here
so I don't know if this works. But as I said it's only 2
lines.
++ kevin
---
Kevin O'Gorman (805) 650-6274 mailto:kogorman(at)pacbell(dot)net
Permanent e-mail forwarder:
mailto:Kevin.O'Gorman(dot)64(at)Alum(dot)Dartmouth(dot)org
At school: mailto:kogorman(at)cs(dot)ucsb(dot)edu
Web: http://www.cs.ucsb.edu/~kogorman/index.html
Web: http://trixie.kosman.via.ayuda.com/~kevin/index.html
"There is a freedom lying beyond circumstance,
derived from the direct intuition that life can
be grounded upon its absorption in what is
changeless amid change"
-- Alfred North Whitehead
Attachment | Content-Type | Size |
---|---|---|
gram.diff | text/plain | 450 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-10-20 00:59:51 | Re: Proposed relaxation of CREATE RULE syntax |
Previous Message | Tom Lane | 2000-10-20 00:10:11 | Re: Rule system goes weird with SELECT queries |