pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mark Simon <mark@manngo.net>
To: pgsql-sql@postgresql.org
Subject: Create View
Date: Sun, 05 Nov 2006 17:17:15 +1100
Message-ID: <454D81EB.1010003@manngo.net> (raw)

I don't know whether this is a simple one that has been dealt with 
before, but if so, I haven't worked out the right question to search on.

If I create a view thus:

    create view things as select * from whatever;

and then examine my saved view, I find a list of all of the fields from 
whatever. I thought it should be possible to save the star (*) as part 
of the view. Otherwise, I run into the problem of not getting all of the 
fields if I add columns to the table (whatever).

Is this an SQL thing or a PostGreSQL thing?

Thanks,

Mark

-- 


  Mark Simon

Manngo Net Pty Ltd

Phone/Fax: 1300 726 000
mobile: 0411 246 672

email: mark@manngo.net <mailto:mark@comparity.net>
web: http://www.manngo.net

Resume: http://mark.manngo.net

view thread (4+ messages)  latest in thread

Message-ID: <454D81EB.1010003@manngo.net>
Permalink:  ../454D81EB.1010003@manngo.net/
Also on:    postgresql.org/message-id/454D81EB.1010003@manngo.net

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: mark@manngo.net
  Subject: Re: Create View
  In-Reply-To: <454D81EB.1010003@manngo.net>

* 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