Fix #1129, view embedding on capitalized table
- Now also works on camelCase fk column
This commit is contained in:
committed by
Steve Chávez
parent
ecf0e9213f
commit
105671e51a
Vendored
+14
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user