Re: Assert failure when validating foreign keys

2019-04-07 Thread Andres Freund
Hi, On 2019-03-25 11:04:05 -0700, Andres Freund wrote: > Hi, > > On 2019-03-24 23:54:53 +1300, David Rowley wrote: > > This results in an Assert failure on master and an elog ERROR prior to > > c2fe139c201: > > > > create role test_role with login; > > create table ref(a int primary key); > > gr

Re: Assert failure when validating foreign keys

2019-03-25 Thread Andres Freund
Hi, On 2019-03-24 23:54:53 +1300, David Rowley wrote: > This results in an Assert failure on master and an elog ERROR prior to > c2fe139c201: > > create role test_role with login; > create table ref(a int primary key); > grant references on ref to test_role; > set role test_role; > create table t

Re: Assert failure when validating foreign keys

2019-03-25 Thread Andres Freund
Hi, On 2019-03-24 23:54:53 +1300, David Rowley wrote: > This results in an Assert failure on master and an elog ERROR prior to > c2fe139c201: > > create role test_role with login; > create table ref(a int primary key); > grant references on ref to test_role; > set role test_role; > create table t

Assert failure when validating foreign keys

2019-03-24 Thread David Rowley
This results in an Assert failure on master and an elog ERROR prior to c2fe139c201: create role test_role with login; create table ref(a int primary key); grant references on ref to test_role; set role test_role; create table t1(a int, b int); insert into t1 values(1,1); alter table t1 add constra