pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <maillist@candle.pha.pa.us>
To: Scott Barron <kain224@yahoo.com>
Cc: Albert REINER <areiner@tph.tuwien.ac.at>
Cc: PostgreSQL-SQL <pgsql-sql@postgreSQL.org>
Subject: Re: [SQL] Expression with aggregate
Date: Tue, 24 Aug 1999 00:24:28 -0400 (EDT)
Message-ID: <199908240424.AAA16390@candle.pha.pa.us> (raw)
In-Reply-To: <19990823222823.28535.rocketmail@web804.mail.yahoo.com>

> 
> 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, Pennsylvania 19026



view thread (4+ messages)  latest in thread

Message-ID: <199908240424.AAA16390@candle.pha.pa.us>
Permalink:  ../199908240424.AAA16390@candle.pha.pa.us/
Also on:    postgresql.org/message-id/199908240424.AAA16390@candle.pha.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: maillist@candle.pha.pa.us, kain224@yahoo.com, areiner@tph.tuwien.ac.at
  Subject: Re: [SQL] Expression with aggregate
  In-Reply-To: <199908240424.AAA16390@candle.pha.pa.us>
  References: <19990823222823.28535.rocketmail@web804.mail.yahoo.com> <199908240424.AAA16390@candle.pha.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox