Re: fast default vs triggers

2018-09-24 Thread Andrew Dunstan
On 09/20/2018 09:04 AM, Tomas Vondra wrote: On 09/19/2018 10:35 PM, Andrew Dunstan wrote: On 09/18/2018 03:36 PM, Andrew Dunstan wrote: Tomas Vondra has pointed out to me that there's an issue with triggers not getting expanded tuples for columns with fast defaults. Here is an exampl

Re: fast default vs triggers

2018-09-20 Thread Tomas Vondra
On 09/19/2018 10:35 PM, Andrew Dunstan wrote: On 09/18/2018 03:36 PM, Andrew Dunstan wrote: Tomas Vondra has pointed out to me that there's an issue with triggers not getting expanded tuples for columns with fast defaults. Here is an example that shows the issue:    andrew=# create t

Re: fast default vs triggers

2018-09-19 Thread Andrew Dunstan
On 09/18/2018 03:36 PM, Andrew Dunstan wrote: Tomas Vondra has pointed out to me that there's an issue with triggers not getting expanded tuples for columns with fast defaults. Here is an example that shows the issue:    andrew=# create table blurfl (id int);    CREATE TABLE    andrew=#