On Mon, Feb 14, 2005 at 10:21:08AM +0000, alagu madhu wrote: > > Description: ERROR: type tablename does not exist > Details: > > CREATE FUNCTION merge_fields(t_row tablename) RETURNS text AS $$
Do you have a table or composite type named "tablename"? Your example works for me in 8.0.1 if tablename and table2name both exist. -- Michael Fuhr http://www.fuhr.org/~mfuhr/ ---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings