Search Postgresql Archives

Re: PL/PGSQL rowtype return problem

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

 



rwickert@xxxxxxxxxxxxxxxx writes:
> I have a problem when I create a function that returns a rowtype. I can't a=
> ccess the individual fields of that rowtype from another function if I put =
> the results in a row type variable.

I think this is just a scalar assignment:

> SELECT get_default_values() INTO defaults;

This might work better:

SELECT * INTO defaults FROM get_default_values();

			regards, tom lane


[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