Re: code in docs gives me an error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Hicham G(dot) Elmongui" <elmongui(at)cs(dot)purdue(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: code in docs gives me an error
Date: 2004-10-19 15:32:46
Message-ID: 16180.1098199966@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Hicham G. Elmongui" <elmongui(at)cs(dot)purdue(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2004-10-19 15:33:24 Re: Online system & transactions
Previous Message Devrim GUNDUZ 2004-10-19 15:26:10 Re: code in docs gives me an error