Re: can function arguments have the type tablename.columnname%TYPE?

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Dino Vliet <dino_vliet(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: can function arguments have the type tablename.columnname%TYPE?
Date: 2010-05-11 08:58:25
Message-ID: 4BE91C31.9090309@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Le 11/05/2010 10:28, Dino Vliet a écrit :
> [...]
> I'm writing a plpgsql function in pgadminIII and want to know if the arguments can have the following type:
>
> tablename.columnname%TYPE
>

No, this construct is only available *inside* a PL/pgsql function body.

--
Guillaume.
http://www.postgresqlfr.org
http://dalibo.com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Alexander Pyhalov 2010-05-11 09:49:38 Re: log database in which error occurs
Previous Message Jason Armstrong 2010-05-11 08:28:33 Workqueue performance