Re: AW: TODO (was: Re: [HACKERS] Problem with parser) - Mailing list pgsql-hackers

From jwieck@debis.com (Jan Wieck)
Subject Re: AW: TODO (was: Re: [HACKERS] Problem with parser)
Date
Msg-id m0zC8r7-000EBPC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to AW: TODO (was: Re: [HACKERS] Problem with parser)  (Andreas Zeugswetter <andreas.zeugswetter@telecom.at>)
List pgsql-hackers
>
> >> > * Allow views to specify column names outside SELECT statement
> >>
> >>     ??? what is meant by that?
> >
> >I have no idea.  I am removing it.  Does anyone else know what it means?
>
> It probably means:
> create view myview (name, salary, hours) as select lname, currsal, whours from wages;
>
> Andreas

    But that doesn't have to do anything with the rewrite system.
    It has to do with the view creation step on  setting  up  the
    instead rule for view selection. There the AS clauses have to
    be moved into the target list.  The  rewrite  system  doesn't
    know if this rule is something that builds up a view.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Still getting ERROR: fmgr_info: function 28261: cache lookup faile
Next
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] Rules for 6.4 finished