Re: tablename type? - Mailing list pgsql-general

From des@des.no (Dag-Erling Smørgrav)
Subject Re: tablename type?
Date
Msg-id xzpekmwm9ha.fsf@dwp.des.no
Whole thread Raw
In response to Re: tablename type?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: tablename type?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:
> des@des.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@des.no

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: tablename type?
Next
From: Harald Fuchs
Date:
Subject: Re: Sql injection attacks