Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Primary key showing the key mixed from another table with same name on diferent schema on postgres #842
The problem persists.
Im using heidy for 2 or 3 years now and i remember having this problem for a long time. but along the road, in one of the compilation this issue was fixed, but after that the problem came back.
Can you point me out what version/compilation was added this color? so i can download and test.
That field color commit could be 7e28c51
However, I just found Heidi's internal query for retrieving table indexes on PG (the one starting with
Maybe you can help out and fix that SQL query so it contains a schema clause?
I got the code and review the sql.
i added this 2 lines
and added the table on from
on the sql below and it should work i believe.
Executing this sql on the heidi when im on the schema brings only the keys for the table on that schema. before those 2 lines it will bring all keys with same table name on diferent schemas.
Edited: also just adding this line should work
I hope this will help.