stressball
Programmer
Hi,
I'm new to using posgres, I've mainly used Oracle in the past. I have a system I am designing where I have a View that joins two tables, as I am inserting into 1 table and updating another. I have written a rule to handle the insert and the update. My problem being that I have deleted and dropped my tables several times as the structure and data is changing a little as I develop, and now I get an error message:
ERROR: Relation "<column name>" with OID 39371 no longer exists
I know that, but I deleted the OID, from what I have read Postgres does a table join on the oid not the column key:
I am joining like: Where t.id = k.id, but it seems to be joining on the OID. I want the join on the column value not the OID. Please help, it would be most appreciated
I'm new to using posgres, I've mainly used Oracle in the past. I have a system I am designing where I have a View that joins two tables, as I am inserting into 1 table and updating another. I have written a rule to handle the insert and the update. My problem being that I have deleted and dropped my tables several times as the structure and data is changing a little as I develop, and now I get an error message:
ERROR: Relation "<column name>" with OID 39371 no longer exists
I know that, but I deleted the OID, from what I have read Postgres does a table join on the oid not the column key:
I am joining like: Where t.id = k.id, but it seems to be joining on the OID. I want the join on the column value not the OID. Please help, it would be most appreciated