Created
October 13, 2023 14:27
-
-
Save fastcat/9d51244a79a64c2a99a13894d7382ad2 to your computer and use it in GitHub Desktop.
PG bug 18156
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table x ( | |
p int4 not null, | |
i int4 not null, | |
f int4 null, | |
primary key (p, i), | |
foreign key (p, f) references x (p, i) | |
) | |
partition by list (p); | |
create table x1 partition of x for values in (0); | |
insert into x values (0,1,null), (0,2,1); | |
delete from x where (p,i) = (0,1); | |
select * from x; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment