Search Postgresql Archives

Re: How to create a virtual column

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



am  06.11.2005, um 22:54:15 +0000 mailte Chris folgendes:
> Andreas Kretschmer <akretschmer <at> spamfence.net> writes:
> > Chris <chris.velevitch <at> gmail.com> schrieb:
> > 
> > > How do I create a virtaul column?
> > 
> > A view. Example:
> 
> Is a view completely compatible with tables? I mean, can I do everything with a
> view like I can do to a table, like insert, delete or update?

No, only insert. But you can also define RULEs for update and delete.
http://www.postgresql.org/docs/8.0/interactive/rules-update.html#RULES-UPDATE-VIEWS


HTH, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux