Search Postgresql Archives

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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guillaume Lelarge <guillaume@xxxxxxxxxxxx> writes:
> 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.

That's incorrect: you can use it in a function declaration too.

Not sure what the OP's problem is exactly --- it might be specific to
pgAdmin.

			regards, tom lane

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux