" AS ON SELECT TO myview DO INSTEAD
    SELECT * FROM mytab;</PRE
><P>

    because this is exactly what the <TT
CLASS="COMMAND"
>CREATE VIEW</TT
>
    command does internally.  This has some side effects. One of them
    is that the information about a view in the
    <SPAN
CLASS="PRODUCTNAME"
>PostgreSQL</SPAN
> system catalogs is exactly
    the same as it is for a table. So for the parser, there is
    absolutely no difference between a table and a view. They are the
    same thing: relations.</P
><DIV
