Jaime Casanova wrote:
> I know you're right, but -when dealing with updateable views- doing
> that implies to add a lot of time altering views when base table
> change, and of course we maybe don't want all views get that values.
Sorry for the late posting on this thread.
Might there be any way to have something like ...SET DEFAULT
pg_same_as('public','foo','col1').
Hmm - you'd need pg_same_as_int/text/etc. depending on the return-type -
still not ideal.
--
Richard Huxton
Archonet Ltd