Re: all views in database broken at once

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mathijs Brands <mathijs(at)ilse(dot)nl>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: all views in database broken at once
Date: 2001-03-25 04:36:56
Message-ID: 10339.985495016@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Mathijs Brands <mathijs(at)ilse(dot)nl> writes:
> How about being able to recompile them (keeping the SQL around in the
> system catalogs)? Doesn't Oracle allow you to do something like that?

That's another possibility. It's not real clear that there's any
advantage to storing rules in preparsed form to begin with --- if
we just stored the original text and reparsed it each time it was
read, the system would be vastly more flexible, and probably not
noticeably slower.

Right now the parser doesn't really support this: there's no way to
extract the portion of the original query string that corresponds
to the body of the CREATE RULE/VIEW command. But that could be fixed
with some straightforward hacking...

regards, tom lane

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Mohamed ebrahim 2001-03-25 06:49:05 Help
Previous Message Dan Lyke 2001-03-25 02:28:08 Re: Serials.