Search Postgresql Archives

Re: Database design: Backwards-compatible field addition

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

 



On Wed, Jun 18, 2008 at 02:04:14PM +0200, David wrote:

> 1) table1 becomes a view of an updated table, with a 'WHERE field4 IS
> NULL' clause.
> 
> Problem with this is that some RDBMS (Postgresql specifically) don't
> let you run update statements on views.

Given 1) the view will be "fairly uncomplicated" and hence
"fairly straightforward" ON INSERT/UPDATE/DELETE rule can
likely be added to it allowing for an apparently writable
view.

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346


[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