Re: [SQL] Expression with aggregate - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] Expression with aggregate
Date
Msg-id 199908240424.AAA16390@candle.pha.pa.us
Whole thread Raw
In response to Re: [SQL] Expression with aggregate  (Scott Barron <kain224@yahoo.com>)
List pgsql-sql
> 
> That should provide the desired results.  As for the
> question about the view in the \d output, I don't know
> why its like that, I've wondered myself.

I think it is view? because it could be a view, or a rule?

> > 
> > By the way, when I use \d to list the tables, why is
> > a view always
> > shown with a '?' like in
> > 
> > asdf=> \d
> > Database    = asdf
> > 
> >
> +------------------+----------------------------------+----------+
> >  |  Owner           |             Relation          
> >   |   Type   |
> > 
> >
> +------------------+----------------------------------+----------+
> >  | albert           | a                             
> >   | table    |
> >  | albert           | b                             
> >   | table    |
> >  | albert           | c                             
> >   | view?    |
> > 
> >
> +------------------+----------------------------------+----------+
> > 
> > ? Why doesn't it just say '| albert | c | view |'?
> > 
> > I'd really appreciate any hints with this, even
> > though I know how to
> > do it (as demonstrated above) with the use of the
> > view.
> > 
> > Thanks in advance for your help,
> > 
> > Albert.
> > 
> > -- 
> > 
> >
> ---------------------------------------------------------------------------
> >   Post an / Mail to / Skribu al: Albert Reiner
> > <areiner@tph.tuwien.ac.at>
> >
> ---------------------------------------------------------------------------
> > 
> > ************
> > 
> > 
> 
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
> 
> 
> ************
> 
> 


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


pgsql-sql by date:

Previous
From: Scott Barron
Date:
Subject: Re: [SQL] Expression with aggregate
Next
From: Bruce Momjian
Date:
Subject: Re: [SQL] Question about comments