Re: thw rewriter and default values, again - Mailing list pgsql-hackers

From Richard Huxton
Subject Re: thw rewriter and default values, again
Date
Msg-id 42A4227F.60902@archonet.com
Whole thread Raw
In response to Re: thw rewriter and default values, again  (Jaime Casanova <systemguards@gmail.com>)
Responses Re: thw rewriter and default values, again  (Jaime Casanova <systemguards@gmail.com>)
List pgsql-hackers
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


pgsql-hackers by date:

Previous
From: "Mark Cave-Ayland"
Date:
Subject: Re: Quick-and-dirty compression for WAL backup blocks
Next
From: Markus Bertheau ☭
Date:
Subject: Re: [SQL] ARRAY() returning NULL instead of ARRAY[] resp. {}