Alvaro Herrera <[EMAIL PROTECTED]> writes: > I'm rewriting several parts of the patch, and have a question. Can I > assume that there is only one rule on the CMD_SELECT event, for any > given view?
Yeah. See the restrictions enforced by DefineQueryRewrite() for details. There's also a unique index on pg_rewrite that would have answered $SUBJECT for you ;-) > Something else -- on the rewrite code I see mentioned a lot of times the > acronym RIR (like in fireRIRrules); what does RIR stand for? I can't > find it anywhere. Damifino ... Jan might remember. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster