"Rodrigo Moreno" <rodrigo.miguel (AT) terra (DOT) com.br> writes:
Quote:
After truncate the table, the oid retuned by PQftable/libpq returns the old
value, and i'm not able to find it in pg_class, because the value of
pg_class.relfilenode was changed after the truncate. |
Why are you matching it against relfilenode? It is the OID.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match