Skip site navigation (1) Skip section navigation (2)

Re: default values for views

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <nconway(at)klamath(dot)dyndns(dot)org>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: default values for views
Date: 2002-04-15 22:59:17
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Neil Conway wrote:
> The attached patch allows views to have default values. You can't
> specify a default value within a CREATE VIEW statement, it must be
> done using ALTER TABLE ... ALTER COLUMN ... SET DEFAULT after the
> view has already been created. Most of the hard work was done by
> Tom Lane, I just patched pg_dump and updated the documentation.

I am confused.  I didn't think we could insert into views.  Can we?

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

In response to


pgsql-patches by date

Next:From: Nigel J. AndrewsDate: 2002-04-15 22:59:49
Subject: Re: Alter/update large tables - VERRRY annoying behaviour!
Previous:From: Neil ConwayDate: 2002-04-15 22:45:48
Subject: Re: default values for views

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group