Franklin Haut <[EMAIL PROTECTED]> writes: > I Tries create a cast but the function text doesn't exist more in PG 8.3
sql-createcast.html tells that "It is normally not necessary to create casts between user-defined types and the standard string types (text, varchar, and char(n)). PostgreSQL will automatically handle a cast to a string type by invoking the other type's output function, ..." Therefore, this might help you: test=# SELECT typoutput FROM pg_type WHERE typname = 'int4'; typoutput ----------- int4out (1 row) Regards. ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org