Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> des(at)des(dot)no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=) writes:
> > ERROR: type tablename does not exist
> The example is just an example. Create an actual table and use its
> name.
If you read the example, you will see that the function is clearly
intended to operate on a table whose name is specified as a parameter
to the function, and that "tablename" is used as the type name for
that parameter, and not a placeholder for an actual table name.
DES
--
Dag-Erling Smørgrav - des(at)des(dot)no