Add test for #996 embed bug when table name = column name

This commit is contained in:
steve-chavez
2017-10-09 10:45:17 -05:00
committed by Steve Chávez
parent 8f49f731d0
commit e1cab584a3
5 changed files with 45 additions and 2 deletions
+18
View File
@@ -1254,6 +1254,24 @@ $$ language sql;
create function test.get_tsearch() returns setof test.tsearch AS $$
SELECT * FROM test.tsearch;
$$ language sql;
create table test.being (
being int primary key not null
);
create table test.descendant (
descendant int primary key not null,
being int references test.being(being)
);
create table test.part (
part int primary key not null
);
create table test.being_part (
being int not null references test.being(being),
part int not null references test.part(part)
);
--
-- PostgreSQL database dump complete
--