"D. Dante Lorenso" <dante@xxxxxxxxxxx> writes: > I did this in my database: > CREATE CAST (VARCHAR AS BYTEA) WITHOUT FUNCTION; > I'm using PostgreSQL 8.2.4 for both the dump and restore database. Why > doesn't the CAST dump and restore? pg_dump thinks it's a built-in system object. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match