Re: create view bug - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: create view bug
Date
Msg-id 200109052115.f85LFnt07107@candle.pha.pa.us
Whole thread Raw
In response to Re: create view bug  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
This feature will appear in 7.2:

    test=> create view aaa (x) as select relname from pg_class;
    CREATE
    test=> select * from aaa;
                    x
    ---------------------------------
     pg_type
     pg_attribute


> > My problem is that the  ErWin generates the following syntax
> > create view [view name] ( [col1] , [col2] ) as select [s1], [s2]  from
> > [table name];
> > and as far as I know this is SQL92.
>
> (checks spec...) You're right, SQL92 does require this syntax.  Okay,
> I'll put it on the to-do list.
>
>             regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo@postgresql.org so that your
> message can get through to the mailing list cleanly
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

pgsql-bugs by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: postgresql v7.1.3 bug report
Next
From: Bruce Momjian
Date:
Subject: Re: libpgtcl doesn't use UTF encoding of TCL