Re: code in docs gives me an error - Mailing list pgsql-general

From Tom Lane
Subject Re: code in docs gives me an error
Date
Msg-id 16180.1098199966@sss.pgh.pa.us
Whole thread Raw
In response to code in docs gives me an error  ("Hicham G. Elmongui" <elmongui@cs.purdue.edu>)
List pgsql-general
"Hicham G. Elmongui" <elmongui@cs.purdue.edu> writes:
> I tried creating the function (from sec 19.3.1). But it gives me the
> following error: "ERROR:  type tablename does not exist".
> Any ideas of what i might be doing wrong?

> CREATE FUNCTION use_many_fields(tablename) RETURNS TEXT AS '

The example assumes you already created a table or composite type named
tablename.

            regards, tom lane

pgsql-general by date:

Previous
From: Devrim GUNDUZ
Date:
Subject: Re: code in docs gives me an error
Next
From: Andrew Sullivan
Date:
Subject: Re: Online system & transactions