Fix #1129, view embedding on capitalized table

- Now also works on camelCase fk column
This commit is contained in:
steve-chavez
2018-07-18 09:43:42 -05:00
committed by Steve Chávez
parent ecf0e9213f
commit 105671e51a
4 changed files with 20 additions and 0 deletions
+14
View File
@@ -1522,3 +1522,17 @@ select
ELSE false
END AS has_book_in_sixties
from private.authors x;
CREATE TABLE test."Foo"(
id int primary key,
name text
);
CREATE TABLE test.bar(
id int primary key,
name text,
"fooId" int references "Foo"(id)
);
CREATE VIEW test.foos as select id,name from "Foo";
CREATE VIEW test.bars as select id, "fooId", name from bar;